# 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 }