diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-08 23:56:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-08 23:56:21 +0000 |
commit | 03de2698f99abe2598cfdf600c64ead54907017d (patch) | |
tree | 36bdcd4c72c91d59fa446e086c7e8920aed7ba92 /net-libs/libnet | |
parent | Added boost and perl. (diff) | |
download | gentoo-2-03de2698f99abe2598cfdf600c64ead54907017d.tar.gz gentoo-2-03de2698f99abe2598cfdf600c64ead54907017d.tar.bz2 gentoo-2-03de2698f99abe2598cfdf600c64ead54907017d.zip |
make docs optional USE=doc by Diego Pettenò #83330
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-libs/libnet')
-rw-r--r-- | net-libs/libnet/libnet-1.1.2.1.ebuild | 27 | ||||
-rw-r--r-- | net-libs/libnet/metadata.xml | 2 |
2 files changed, 10 insertions, 19 deletions
diff --git a/net-libs/libnet/libnet-1.1.2.1.ebuild b/net-libs/libnet/libnet-1.1.2.1.ebuild index e53974548cb6..98256c9e6d34 100644 --- a/net-libs/libnet/libnet-1.1.2.1.ebuild +++ b/net-libs/libnet/libnet-1.1.2.1.ebuild @@ -1,8 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1.ebuild,v 1.11 2005/01/11 14:10:22 dragonheart Exp $ - -inherit gnuconfig +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1.ebuild,v 1.12 2005/03/08 23:56:21 vapier Exp $ DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)" HOMEPAGE="http://www.packetfactory.net/libnet/" @@ -10,27 +8,20 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/${P}.tar.gz" LICENSE="LGPL-2" SLOT="1.1" -KEYWORDS="alpha arm amd64 hppa ia64 mips ppc ppc-macos sparc x86" -IUSE="" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos sparc x86" +IUSE="doc" S=${WORKDIR}/libnet -src_compile() { - cd ${S} - - # Detect mips systems properly - gnuconfig_update - - econf || die "Failed to run econf!" - emake || die "Failed to run emake!" -} - src_install(){ - make DESTDIR=${D} install || die "Failed to install" + make DESTDIR="${D}" install || die "Failed to install" dobin libnet-config || die doman doc/man/man3/*.3 dodoc VERSION README doc/* - dohtml -r doc/html/* - docinto sample ; dodoc sample/*.[ch] + if use doc ; then + dohtml -r doc/html/* + docinto sample + dodoc sample/*.[ch] + fi } diff --git a/net-libs/libnet/metadata.xml b/net-libs/libnet/metadata.xml index 1b4d4fba8d5e..152fa1e19d26 100644 --- a/net-libs/libnet/metadata.xml +++ b/net-libs/libnet/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> +<herd>netmon</herd> <maintainer> <email>vapier@gentoo.org</email> </maintainer> |