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
commit4571cba3900ad93dba15039b781ffb311c8238a4 (patch)
treee6c60ab3ab3dc171c1d995b9eb9e1c63078a63b2 /net-libs/libmnl
parentold (diff)
downloadhistorical-4571cba3900ad93dba15039b781ffb311c8238a4.tar.gz
historical-4571cba3900ad93dba15039b781ffb311c8238a4.tar.bz2
historical-4571cba3900ad93dba15039b781ffb311c8238a4.zip
Put library into / and libmnl.pc into searchable by pkg-config path.
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libmnl')
-rw-r--r--net-libs/libmnl/ChangeLog5
-rw-r--r--net-libs/libmnl/Manifest4
-rw-r--r--net-libs/libmnl/libmnl-1.0.1.ebuild12
3 files changed, 15 insertions, 6 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/Manifest b/net-libs/libmnl/Manifest
index 296f22e3068b..dd229a329ce1 100644
--- a/net-libs/libmnl/Manifest
+++ b/net-libs/libmnl/Manifest
@@ -1,4 +1,4 @@
DIST libmnl-1.0.1.tar.bz2 258981 RMD160 de59975ffb363df156b5d30618b67e230ea3b9f5 SHA1 45a64c1e2e16f1e3aad5f89f79379dd61e39ebdb SHA256 5dd81c42101bae6dde8aeb396367a7f2103de4b186a3e096b5d026c4cd5889f5
-EBUILD libmnl-1.0.1.ebuild 739 RMD160 ebfb04ba05461fbd5bb504948ab68f53a454d5a9 SHA1 f3c3627ca8406593623e10c9b42b41ca70f41ea1 SHA256 09ec6ee5f570a96cc141d4530b23949ea60929fd968b634ff7eec4eca2b17d99
-MISC ChangeLog 356 RMD160 ebdb4da055f8a8ad04066d1cbad14437dde4a810 SHA1 edb5d1552947077d80c6fe1a39479a30edba672e SHA256 0ac42c8c599d7fb7bae82e5d6c9d8fb4bd1e4f0d598043f577ab9e4d5f9ad6fd
+EBUILD libmnl-1.0.1.ebuild 879 RMD160 ee418028c90c91ac602c685ee2631d7f8608a581 SHA1 54d426d558b3001a2f3f75b0656252c46cee2769 SHA256 49a006ed29967df14f070d7521aa822330342260c9bfc3722470fc7cf9c30a65
+MISC ChangeLog 494 RMD160 49d756949f5f956b01aeffba967bbcd95b9e68aa SHA1 9af00ed75183765d55a2df2906e796213c993659 SHA256 5e26430918e0b22d937b9ea2df40231c46d64b893a75e6266b8257a764029125
MISC metadata.xml 634 RMD160 a4980093785bedcd38b0914e54c38052092f951d SHA1 56b272fbe662674d3cbf7aa993b8f5e7f5e841ee SHA256 261e921faf520f8375cae9eafaf2f900d00151d2da3441c82b44b9b41aed417c
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