summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-05-01 12:15:52 +0000
committerPeter Volkov <pva@gentoo.org>2011-05-01 12:15:52 +0000
commit87665acf0a75d6a46c3d3703ec4f00ad384d626f (patch)
treeca6f075f4232b99e90ef84dc959ec50c7cae4711
parentold (diff)
downloadgentoo-2-87665acf0a75d6a46c3d3703ec4f00ad384d626f.tar.gz
gentoo-2-87665acf0a75d6a46c3d3703ec4f00ad384d626f.tar.bz2
gentoo-2-87665acf0a75d6a46c3d3703ec4f00ad384d626f.zip
Put library into / and libmnl.pc into searchable by pkg-config path.
(Portage version: 2.1.9.46/cvs/Linux x86_64)
-rw-r--r--net-libs/libmnl/ChangeLog5
-rw-r--r--net-libs/libmnl/libmnl-1.0.1.ebuild12
2 files changed, 13 insertions, 4 deletions
diff --git a/net-libs/libmnl/ChangeLog b/net-libs/libmnl/ChangeLog
index 23ce5be0d14d..2bd7b67311e3 100644
--- a/net-libs/libmnl/ChangeLog
+++ b/net-libs/libmnl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/libmnl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/ChangeLog,v 1.1 2011/05/01 11:57:20 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/ChangeLog,v 1.2 2011/05/01 12:15:52 pva Exp $
+
+ 01 May 2011; Peter Volkov <pva@gentoo.org> libmnl-1.0.1.ebuild:
+ Put library into / and libmnl.pc into searchable by pkg-config path.
*libmnl-1.0.1 (01 May 2011)
diff --git a/net-libs/libmnl/libmnl-1.0.1.ebuild b/net-libs/libmnl/libmnl-1.0.1.ebuild
index 51e977c67ad8..6074c082da95 100644
--- a/net-libs/libmnl/libmnl-1.0.1.ebuild
+++ b/net-libs/libmnl/libmnl-1.0.1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.1.ebuild,v 1.1 2011/05/01 11:57:20 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.1.ebuild,v 1.2 2011/05/01 12:15:52 pva Exp $
EAPI=4
+inherit multilib
+
DESCRIPTION="Minimalistic nelink library"
HOMEPAGE="http://netfilter.org/projects/libmnl"
SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
@@ -13,11 +15,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
-DEPEND=""
-RDEPEND="${DEPEND}"
+src_configure() {
+ econf \
+ --libdir=/$(get_libdir)
+}
src_install() {
emake DESTDIR="${D}" install
+ dodir /usr/$(get_libdir)/pkgconfig/
+ mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/libmnl.pc || die
dodoc README
if use examples; then