diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2007-06-25 00:59:49 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2007-06-25 00:59:49 +0000 |
commit | 19c8fe7c455a45238ed840003ba48d8880b7dcc0 (patch) | |
tree | af357cf083aac29ac0db9daad5b67700ce773863 /dev-dotnet/log4net | |
parent | Version bump (diff) | |
download | gentoo-2-19c8fe7c455a45238ed840003ba48d8880b7dcc0.tar.gz gentoo-2-19c8fe7c455a45238ed840003ba48d8880b7dcc0.tar.bz2 gentoo-2-19c8fe7c455a45238ed840003ba48d8880b7dcc0.zip |
dev-dotnet/log4net: generation of the .pc file is now more universal
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-dotnet/log4net')
-rw-r--r-- | dev-dotnet/log4net/ChangeLog | 6 | ||||
-rw-r--r-- | dev-dotnet/log4net/files/log4net.pc.in (renamed from dev-dotnet/log4net/files/log4net-1.2.10.pc) | 4 | ||||
-rw-r--r-- | dev-dotnet/log4net/log4net-1.2.10.ebuild | 8 |
3 files changed, 12 insertions, 6 deletions
diff --git a/dev-dotnet/log4net/ChangeLog b/dev-dotnet/log4net/ChangeLog index 18ae165773e8..692f19dadf40 100644 --- a/dev-dotnet/log4net/ChangeLog +++ b/dev-dotnet/log4net/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-dotnet/log4net # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.1 2007/06/24 20:40:19 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/ChangeLog,v 1.2 2007/06/25 00:59:49 jurek Exp $ + + 25 Jun 2007; Jurek Bartuszek <jurek@gentoo.org> +files/log4net.pc.in, + -files/log4net-1.2.10.pc, log4net-1.2.10.ebuild: + Generation of the .pc file is now more universal *log4net-1.2.10 (24 Jun 2007) diff --git a/dev-dotnet/log4net/files/log4net-1.2.10.pc b/dev-dotnet/log4net/files/log4net.pc.in index 27506e97352b..5f2f2a258b1e 100644 --- a/dev-dotnet/log4net/files/log4net-1.2.10.pc +++ b/dev-dotnet/log4net/files/log4net.pc.in @@ -1,8 +1,8 @@ prefix=/usr exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=${exec_prefix}/@LIBDIR@ Name: Log4net Description: Log4net - Logging library for C# and VB.NET -Version: 1.2.10 +Version: @VERSION@ Libs: -r:${libdir}/log4net/log4net.dll diff --git a/dev-dotnet/log4net/log4net-1.2.10.ebuild b/dev-dotnet/log4net/log4net-1.2.10.ebuild index a350d643f850..b5145c94f118 100644 --- a/dev-dotnet/log4net/log4net-1.2.10.ebuild +++ b/dev-dotnet/log4net/log4net-1.2.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/log4net-1.2.10.ebuild,v 1.1 2007/06/24 20:40:19 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/log4net/log4net-1.2.10.ebuild,v 1.2 2007/06/25 00:59:49 jurek Exp $ inherit eutils mono @@ -36,8 +36,10 @@ src_install() { insinto /usr/$(get_libdir)/${PN} doins bin/mono/1.0/release/${PN}.dll - insinto /usr/$(get_libdir)/pkgconfig - newins ${FILESDIR}/${P}.pc ${PN}.pc + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:$(get_libdir):" \ + ${FILESDIR}/${PN}.pc.in > ${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc /usr/bin/gacutil /i bin/mono/1.0/release/${PN}.dll \ /check_refs /root ${D}/usr/$(get_libdir) |