summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-11-27 12:01:30 +0100
committerDavid Seifert <soap@gentoo.org>2017-11-27 12:20:53 +0100
commit4842e735cbc3024b6cf74bdbcb6e2d90ac4a7097 (patch)
tree2238abc4541bfd6b3f04724380931289551a00a6 /net-p2p
parentsys-apps/clrngd: Port to EAPI 6 (diff)
downloadgentoo-4842e735cbc3024b6cf74bdbcb6e2d90ac4a7097.tar.gz
gentoo-4842e735cbc3024b6cf74bdbcb6e2d90ac4a7097.tar.bz2
gentoo-4842e735cbc3024b6cf74bdbcb6e2d90ac4a7097.zip
net-p2p/gnut: Port to EAPI 6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gnut/Manifest4
-rw-r--r--net-p2p/gnut/gnut-0.4.28-r1.ebuild30
2 files changed, 16 insertions, 18 deletions
diff --git a/net-p2p/gnut/Manifest b/net-p2p/gnut/Manifest
index 1c870139a352..f3abb1a80a2d 100644
--- a/net-p2p/gnut/Manifest
+++ b/net-p2p/gnut/Manifest
@@ -1,2 +1,2 @@
-DIST gnut-0.4.28-patches.tar.bz2 8663 SHA256 c9a4e06f79bea33542576132c44f69f5acc5b68a28fc3f3e1817d166bc2c5bbb SHA512 4ce1aece0e07e895731f96eb6274d7cc2ac3cd672a1a67c0a63781b51e5fd7d3f1c9e1cdcea59a9f5926f5256ff7a03cc490c4dfde857484fbe9cacd8e999048 WHIRLPOOL ee3efe7a22ef10b1b25fa3f48450a02587bf28ea3cc6c8449c06b243520ca5a315d7abb2152b8707aeab603926de62a5d03ba8f27e3018bb3caac08b86c1344e
-DIST gnut-0.4.28.tar.gz 333625 SHA256 f82aa6287c84376b2cb5fdabe6be2c27a0f72ed25672e277c2a9b521417f0fec SHA512 6287f01c83367e34f688300b346f02ec66765a0f9409a14265d345f9482ccab46358076b6d166652791d6e7c6fb0d70e8163544b88a0b199b1c36a54e943d4a2 WHIRLPOOL 077b4f76c00710b2a08a5d670560f7d8f46a0e67d995142e39ad3be3694db05b96df2acea127dda744735317f891277603f85382045e55c133964466333ebabd
+DIST gnut-0.4.28-patches.tar.bz2 8663 BLAKE2B 027df03261f7346cb3f03472d04567e71782e1f115f30f5dbec6967c213ca7a567bfb89d07753725a0b315d3d8fc38e07ba4ce39e1784f232a7c45949befeaa0 SHA512 4ce1aece0e07e895731f96eb6274d7cc2ac3cd672a1a67c0a63781b51e5fd7d3f1c9e1cdcea59a9f5926f5256ff7a03cc490c4dfde857484fbe9cacd8e999048
+DIST gnut-0.4.28.tar.gz 333625 BLAKE2B 8fc0de9fff016ad1b5eea520e40297a412fff283192ae320d2d9b9e3dde59e47c3d5818d85cce4c6dee416b8524d84c8c48b0eec5387797b56c48b78c6e6fb77 SHA512 6287f01c83367e34f688300b346f02ec66765a0f9409a14265d345f9482ccab46358076b6d166652791d6e7c6fb0d70e8163544b88a0b199b1c36a54e943d4a2
diff --git a/net-p2p/gnut/gnut-0.4.28-r1.ebuild b/net-p2p/gnut/gnut-0.4.28-r1.ebuild
index 7132dd862d5b..6eb6c8fb4866 100644
--- a/net-p2p/gnut/gnut-0.4.28-r1.ebuild
+++ b/net-p2p/gnut/gnut-0.4.28-r1.ebuild
@@ -1,27 +1,25 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit eutils
+EAPI=6
DESCRIPTION="Text-mode gnutella client"
-SRC_URI="http://alge.anart.no/ftp/pub/gnutella/${P}.tar.gz
- mirror://gentoo/${P}-patches.tar.bz2"
HOMEPAGE="http://www.gnutelliums.com/linux_unix/gnut/"
+SRC_URI="
+ http://alge.anart.no/ftp/pub/gnutella/${P}.tar.gz
+ mirror://gentoo/${P}-patches.tar.bz2"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86 ppc"
-IUSE=""
-src_unpack() {
- unpack ${A}
- epatch configure.patch
- epatch src.patch
-}
+PATCHES=(
+ "${WORKDIR}"/configure.patch
+ "${WORKDIR}"/src.patch
+)
-src_install () {
- make DESTDIR="${D}" install || die
- dohtml doc/*.html
- dodoc doc/TUTORIAL AUTHORS COPYING ChangeLog GDJ HACKING \
- INSTALL NEWS README TODO
+src_install() {
+ local HTML_DOCS=( doc/*.html )
+ default
+ dodoc doc/TUTORIAL GDJ HACKING
}