summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-04-29 12:24:56 +0000
committerJeroen Roovers <jer@gentoo.org>2013-04-29 12:24:56 +0000
commit1ffcf99545bf870372bdaceb49b78984fb27b620 (patch)
tree2e08f3680fbe7b280915eec1f300bc52096153a6 /net-libs/libmnl
parentUse python-single-r1. PYTHON is exported properly. #467526 (diff)
downloadgentoo-2-1ffcf99545bf870372bdaceb49b78984fb27b620.tar.gz
gentoo-2-1ffcf99545bf870372bdaceb49b78984fb27b620.tar.bz2
gentoo-2-1ffcf99545bf870372bdaceb49b78984fb27b620.zip
Add USE=static-libs.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-libs/libmnl')
-rw-r--r--net-libs/libmnl/ChangeLog8
-rw-r--r--net-libs/libmnl/libmnl-1.0.3-r1.ebuild (renamed from net-libs/libmnl/libmnl-1.0.2.ebuild)17
2 files changed, 17 insertions, 8 deletions
diff --git a/net-libs/libmnl/ChangeLog b/net-libs/libmnl/ChangeLog
index 8e50839068be..b52b876602d9 100644
--- a/net-libs/libmnl/ChangeLog
+++ b/net-libs/libmnl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libmnl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/ChangeLog,v 1.28 2013/02/21 16:41:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/ChangeLog,v 1.29 2013/04/29 12:24:56 jer Exp $
+
+*libmnl-1.0.3-r1 (29 Apr 2013)
+
+ 29 Apr 2013; Jeroen Roovers <jer@gentoo.org> -libmnl-1.0.2.ebuild,
+ +libmnl-1.0.3-r1.ebuild:
+ Add USE=static-libs.
21 Feb 2013; Jeroen Roovers <jer@gentoo.org> libmnl-1.0.3.ebuild:
Stable for HPPA (bug #457806).
diff --git a/net-libs/libmnl/libmnl-1.0.2.ebuild b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
index bc854e498385..17766637eca5 100644
--- a/net-libs/libmnl/libmnl-1.0.2.ebuild
+++ b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.2.ebuild,v 1.7 2013/02/08 06:41:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.3-r1.ebuild,v 1.1 2013/04/29 12:24:56 jer Exp $
EAPI=4
-inherit multilib
+inherit eutils multilib toolchain-funcs
DESCRIPTION="Minimalistic netlink library"
HOMEPAGE="http://netfilter.org/projects/libmnl"
@@ -12,19 +12,22 @@ SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
-IUSE="examples"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
+IUSE="examples static-libs"
src_configure() {
econf \
+ $(use_enable static-libs static) \
--libdir="${EPREFIX}"/$(get_libdir)
}
src_install() {
- emake DESTDIR="${D}" install
+ default
dodir /usr/$(get_libdir)/pkgconfig/
mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/libmnl.pc || die
- dodoc README
+ mv "${ED}"/{,usr/}$(get_libdir)/libmnl.a || die
+ mv "${ED}"/{,usr/}$(get_libdir)/libmnl.la || die
+ gen_usr_ldscript libmnl.so
if use examples; then
find examples/ -name 'Makefile*' -delete
@@ -32,5 +35,5 @@ src_install() {
docompress -x /usr/share/doc/${PF}/examples
fi
- find "${ED}" -name '*.la' -delete
+ prune_libtool_files
}