summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-06 09:15:16 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-06 09:15:16 +0100
commitb689e7f9b3d3296bb4899d29a7c525f3ed7a1422 (patch)
tree0b7f6826f0dfb0654b07c00953b18244c13b6555 /x11-misc/spnavcfg
parentx11-misc/spnavcfg: Drop old (diff)
downloadgentoo-b689e7f9b3d3296bb4899d29a7c525f3ed7a1422.tar.gz
gentoo-b689e7f9b3d3296bb4899d29a7c525f3ed7a1422.tar.bz2
gentoo-b689e7f9b3d3296bb4899d29a7c525f3ed7a1422.zip
x11-misc/spnavcfg: EAPI 6, clean up
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-misc/spnavcfg')
-rw-r--r--x11-misc/spnavcfg/spnavcfg-0.3.ebuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild
index 62c0ff4be0eb..4af7bbb98601 100644
--- a/x11-misc/spnavcfg/spnavcfg-0.3.ebuild
+++ b/x11-misc/spnavcfg/spnavcfg-0.3.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="GTK-based GUI to configure a space navigator device"
HOMEPAGE="http://spacenav.sourceforge.net/"
@@ -21,15 +21,8 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
app-misc/spacenavd[X]"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-custom-flags.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch )
src_compile() {
- emake CC=$(tc-getCC) || die "Make failed."
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
- dodoc README || die
+ emake CC=$(tc-getCC)
}