summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-09 14:16:46 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-09 14:18:31 +0100
commit51c12ea83534391ac5c3fb6db3aaf29444beb092 (patch)
tree61c85ce3066d7ad222ee29b0e433b925e2c07a75 /net-misc/vmnet
parentnet-misc/tiers: Bump to EAPI 7 (diff)
downloadgentoo-51c12ea83534391ac5c3fb6db3aaf29444beb092.tar.gz
gentoo-51c12ea83534391ac5c3fb6db3aaf29444beb092.tar.bz2
gentoo-51c12ea83534391ac5c3fb6db3aaf29444beb092.zip
net-misc/vmnet: Bump to EAPI 7
Closes: https://bugs.gentoo.org/697228 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/vmnet')
-rw-r--r--net-misc/vmnet/vmnet-0.4.ebuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/net-misc/vmnet/vmnet-0.4.ebuild b/net-misc/vmnet/vmnet-0.4.ebuild
index 18c4f8422498..b43792b7b478 100644
--- a/net-misc/vmnet/vmnet-0.4.ebuild
+++ b/net-misc/vmnet/vmnet-0.4.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
-inherit eutils flag-o-matic
+inherit flag-o-matic
DESCRIPTION="A simple virtual networking program - SLIP over stdin/out"
HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
@@ -12,28 +12,28 @@ HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
# http://ftp.debian.org/debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz
# We use the debian patch anyway
SRC_URI="ftp://ftp.xos.nl/pub/linux/${PN}/${P}.tar.gz
- mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
-DEPEND="sys-apps/net-tools"
+RDEPEND="sys-apps/net-tools"
+DEPEND=${RDEPEND}
-src_unpack() {
- unpack ${P}.tar.gz
- epatch "${DISTDIR}"/${P/-/_}-1.diff.gz
-}
+PATCHES=(
+ "${WORKDIR}"/${P/-/_}-1.diff
+)
src_compile() {
append-ldflags -Wl,-z,now
- emake || die "Emake failed"
+ emake
}
src_install() {
- dobin ${PN} || die "dobin"
- fperms 4711 /usr/bin/${PN} || die "fperms"
+ dobin ${PN}
+ fperms 4711 /usr/bin/${PN}
doman ${PN}.1
dodoc README debian/${PN}.sgml