diff options
Diffstat (limited to 'app-laptop/spicctrl/spicctrl-1.9-r1.ebuild')
-rw-r--r-- | app-laptop/spicctrl/spicctrl-1.9-r1.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild index d1aceef29615..673144b0e853 100644 --- a/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild +++ b/app-laptop/spicctrl/spicctrl-1.9-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit base toolchain-funcs +inherit toolchain-funcs DESCRIPTION="tool for the sonypi-Device (found in Sony Vaio Notebooks)" HOMEPAGE="http://www.popies.net/sonypi/" @@ -12,17 +12,14 @@ SRC_URI="http://www.popies.net/sonypi/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 -ppc x86" -IUSE="" -DEPEND="" -RDEPEND="" +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) -PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +src_configure() { + tc-export CC } src_install() { dobin spicctrl + einstalldocs } |