summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-19 12:15:21 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-19 12:15:21 +0200
commit222079522ae84acfab5079fe5ef164aaa03f0b59 (patch)
treecdd1bbaf3b6bdb8b52805c804a0a3849da74cde0 /dev-embedded/upslug2
parentsys-block/devio: Port to EAPI 7 (diff)
downloadgentoo-222079522ae84acfab5079fe5ef164aaa03f0b59.tar.gz
gentoo-222079522ae84acfab5079fe5ef164aaa03f0b59.tar.bz2
gentoo-222079522ae84acfab5079fe5ef164aaa03f0b59.zip
dev-embedded/upslug2: Port to EAPI 7
Closes: https://bugs.gentoo.org/697360 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-embedded/upslug2')
-rw-r--r--dev-embedded/upslug2/upslug2-11.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-embedded/upslug2/upslug2-11.ebuild b/dev-embedded/upslug2/upslug2-11.ebuild
index 9aa13e4e8de1..e994216ef587 100644
--- a/dev-embedded/upslug2/upslug2-11.ebuild
+++ b/dev-embedded/upslug2/upslug2-11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
DESCRIPTION="util for flashing NSLU2 machines remotely"
HOMEPAGE="http://www.nslu2-linux.org/wiki/Main/UpSlug2"
@@ -10,11 +10,12 @@ SRC_URI="mirror://sourceforge/nslu/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
-IUSE=""
+
+src_configure() {
+ econf --sbindir "${EPREFIX}"/usr/bin
+}
src_install() {
- emake install DESTDIR="${D}" || die
- mv "${D}"/usr/{sbin,bin} || die
+ default
fperms 4711 /usr/bin/upslug2
- dodoc AUTHORS ChangeLog NEWS README*
}