summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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*
}