diff options
-rw-r--r-- | app-misc/gloriousctl/gloriousctl-9999.ebuild | 33 | ||||
-rw-r--r-- | app-misc/gloriousctl/metadata.xml | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/app-misc/gloriousctl/gloriousctl-9999.ebuild b/app-misc/gloriousctl/gloriousctl-9999.ebuild new file mode 100644 index 00000000..eaa0455c --- /dev/null +++ b/app-misc/gloriousctl/gloriousctl-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit git-r3 toolchain-funcs + +DESCRIPTION="A utility to adjust the settings of Model O/D mice" +HOMEPAGE="https://github.com/enkore/gloriousctl" +EGIT_REPO_URI="https://github.com/enkore/${PN}.git" + +LICENSE="EUPL-1.2" +SLOT="0" +KEYWORDS="" + +DEPEND="dev-libs/hidapi" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare () { + default + + sed -i \ + -e 's/gcc/$(CC)/' "${S}/Makefile" \ + || die + + tc-export CC +} + +src_install() { + into / + dobin "${PN}" + dodoc README.md +} diff --git a/app-misc/gloriousctl/metadata.xml b/app-misc/gloriousctl/metadata.xml new file mode 100644 index 00000000..7afe2ff6 --- /dev/null +++ b/app-misc/gloriousctl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bertrand@jacquin.bzh</email> + <name>Bertrand Jacquin</name> + </maintainer> + <upstream> + <remote-id type="github">enkore/gloriousctl</remote-id> + </upstream> +</pkgmetadata> |