sys-block/endpoint: EAPI-7 revbump
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 7 Nov 2019 14:23:11 +0000 (15:23 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 7 Nov 2019 17:05:13 +0000 (18:05 +0100)
Closes: https://bugs.gentoo.org/697192
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-block/endpoint/endpoint-0.1.0-r1.ebuild [moved from sys-block/endpoint/endpoint-0.1.0.ebuild with 72% similarity]

similarity index 72%
rename from sys-block/endpoint/endpoint-0.1.0.ebuild
rename to sys-block/endpoint/endpoint-0.1.0-r1.ebuild
index b6f10bd461c8b396ec1c7683ebeb273a7829694f..d23f599eff85e8e0a01ca17595c69cd5e8c81347 100644 (file)
@@ -1,9 +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
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Endpoint turns a Linux machine with a firewire card into an SBP-2 device"
 HOMEPAGE="http://oss.oracle.com/projects/endpoint/"
@@ -15,14 +13,15 @@ KEYWORDS="~amd64 ~ppc x86"
 IUSE=""
 
 RDEPEND=">=sys-libs/libraw1394-0.9
-       >=dev-libs/glib-2"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       >=dev-libs/glib-2:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+"
 
-src_unpack() {
-       unpack ${A}
-       epatch "${FILESDIR}"/${P}-errormessages.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-errormessages.patch
+)
 
 src_install() {
        emake -j1 install DESTDIR="${D}"