Closes: https://bugs.gentoo.org/697360
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
-# 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"
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*
}