app-admin/genromfs: EAPI=7, fix LICENSE
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Mon, 15 Apr 2019 10:55:49 +0000 (12:55 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 15 Apr 2019 13:02:45 +0000 (15:02 +0200)
Closes: https://bugs.gentoo.org/683372
Closes: https://github.com/gentoo/gentoo/pull/11692
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
app-admin/genromfs/files/genromfs-0.5.2-build.patch
app-admin/genromfs/genromfs-0.5.2.ebuild

index 1fbc29fb7d5c69de18f65bc565fac645c5ef84b7..667448e1a20a964b412d4ea0d79a7fa62b95096a 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -5,9 +5,10 @@
  
  PACKAGE = genromfs
index 3b3fd2b0b57b2222385d1659609ba81ba51a2a33..8bdcc8946afee38db9ea1951d3c46fc7bd6c6a9e 100644 (file)
@@ -1,24 +1,21 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Create space-efficient, small, read-only romfs filesystems"
 HOMEPAGE="http://romfs.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 arm64 ppc ~ppc64 s390 x86"
-IUSE=""
 
-DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt )
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
-}
+DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt )
 
 src_compile() {
        tc-export CC