diff options
Diffstat (limited to 'net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild')
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild b/net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild new file mode 100644 index 000000000000..afbbea327191 --- /dev/null +++ b/net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnftnl/libnftnl-1.0.0-r1.ebuild,v 1.1 2014/01/20 20:09:40 chainsaw Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem" +HOMEPAGE="http://www.netfilter.org/projects/libnftnl" +SRC_URI="http://netfilter.org/projects/${PN}/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="examples static-libs" + +RDEPEND=" + net-libs/libmnl +" + +src_configure() { + econf \ + --libdir="${EPREFIX}"/$(get_libdir) \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files + + if use examples; then + find examples/ -name 'Makefile*' -delete + dodoc -r examples/ + docompress -x /usr/share/doc/${PF}/examples + fi +} |