diff options
author | David Seifert <soap@gentoo.org> | 2017-11-27 12:01:30 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-27 12:20:53 +0100 |
commit | 4842e735cbc3024b6cf74bdbcb6e2d90ac4a7097 (patch) | |
tree | 2238abc4541bfd6b3f04724380931289551a00a6 /net-p2p/gnut/gnut-0.4.28-r1.ebuild | |
parent | sys-apps/clrngd: Port to EAPI 6 (diff) | |
download | gentoo-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/gnut/gnut-0.4.28-r1.ebuild')
-rw-r--r-- | net-p2p/gnut/gnut-0.4.28-r1.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
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 } |