/[gentoo-x86]/net-libs/libnet/libnet-1.1.6.ebuild
Gentoo

Contents of /net-libs/libnet/libnet-1.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Jun 9 23:58:56 2014 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -3 lines
Add arm64 love.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.6.ebuild,v 1.12 2013/02/19 05:00:03 zmedico Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
10 HOMEPAGE="http://libnet-dev.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz"
12
13 LICENSE="BSD BSD-2 HPND"
14 SLOT="1.1"
15 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
16 IUSE="doc static-libs"
17
18 DEPEND="sys-devel/autoconf"
19 RDEPEND=""
20
21 DOCS=(
22 README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
23 doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
24 )
25
26 src_configure() {
27 econf $(use_enable static-libs static)
28 }
29
30 src_install() {
31 default
32
33 if use doc ; then
34 dohtml -r doc/html/*
35 docinto sample
36 dodoc sample/*.[ch]
37 fi
38
39 if ! use static-libs; then
40 rm "${ED}"/usr/lib*/libnet.la || die
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20