From 1612a3531625845d4eb329a863b046f0c74acde2 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Mon, 26 Jan 2009 20:45:38 +0000 Subject: Fix up pkg-config files so they mirror what Debian does. (Portage version: 2.2_rc23/cvs/Linux x86_64) --- dev-dotnet/nini/ChangeLog | 8 ++++- dev-dotnet/nini/nini-1.1.0-r1.ebuild | 60 --------------------------------- dev-dotnet/nini/nini-1.1.0-r2.ebuild | 64 ++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 61 deletions(-) delete mode 100644 dev-dotnet/nini/nini-1.1.0-r1.ebuild create mode 100644 dev-dotnet/nini/nini-1.1.0-r2.ebuild diff --git a/dev-dotnet/nini/ChangeLog b/dev-dotnet/nini/ChangeLog index 470128dcf149..55686813a8f1 100644 --- a/dev-dotnet/nini/ChangeLog +++ b/dev-dotnet/nini/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-dotnet/nini # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/ChangeLog,v 1.6 2009/01/07 12:47:38 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/ChangeLog,v 1.7 2009/01/26 20:45:38 loki_val Exp $ + +*nini-1.1.0-r2 (26 Jan 2009) + + 26 Jan 2009; Peter Alfredsen -nini-1.1.0-r1.ebuild, + +nini-1.1.0-r2.ebuild: + Fix up pkg-config files so they mirror what Debian does. *nini-1.1.0-r1 (07 Jan 2009) diff --git a/dev-dotnet/nini/nini-1.1.0-r1.ebuild b/dev-dotnet/nini/nini-1.1.0-r1.ebuild deleted file mode 100644 index 40a7d53152da..000000000000 --- a/dev-dotnet/nini/nini-1.1.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/nini-1.1.0-r1.ebuild,v 1.2 2009/01/07 22:04:05 mr_bones_ Exp $ - -EAPI=2 - -inherit mono multilib - -DESCRIPTION="Nini - A configuration library for .NET" -HOMEPAGE="http://nini.sourceforge.net" -SRC_URI="mirror://sourceforge/nini/Nini-${PV}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND=">=dev-lang/mono-2" -DEPEND="${RDEPEND} - app-arch/sharutils - sys-apps/sed" - -S=${WORKDIR}/Nini/Source - -src_prepare() { - uudecode -o Nini.snk "${FILESDIR}"/Nini.snk.uue -} - -src_configure() { - use debug&&DEBUG="-debug" -} - -src_compile() { - #See nini in Debian for info - gmcs ${DEBUG} \ - -nowarn:1616 \ - -target:library \ - -out:Nini.dll \ - -define:STRONG \ - -r:System.dll \ - -r:System.Xml.dll \ - -keyfile:Nini.snk \ - AssemblyInfo.cs Config/*.cs Ini/*.cs Util/*.cs \ - || die "Compilation failed" - - sed \ - -e 's|@prefix@|${pcfiledir}/../..|' \ - -e 's|@exec_prefix@|${prefix}|' \ - -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)|" \ - -e "s|@libs@|-r:\$\{libdir\}/mono/Nini/Nini.dll|" \ - -e "s|@VERSION@|${PV}|" \ - "${FILESDIR}"/nini.pc.in > "${S}"/nini.pc -} - -src_install() { - egacinstall Nini.dll Nini - insinto /usr/$(get_libdir)/pkgconfig - doins "${S}"/nini.pc - dodoc "${S}"/../CHANGELOG.txt "${S}"/../README.txt -} diff --git a/dev-dotnet/nini/nini-1.1.0-r2.ebuild b/dev-dotnet/nini/nini-1.1.0-r2.ebuild new file mode 100644 index 000000000000..0d4a61581ede --- /dev/null +++ b/dev-dotnet/nini/nini-1.1.0-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/nini-1.1.0-r2.ebuild,v 1.1 2009/01/26 20:45:38 loki_val Exp $ + +EAPI=2 + +inherit mono multilib versionator + +DESCRIPTION="Nini - A configuration library for .NET" +HOMEPAGE="http://nini.sourceforge.net" +SRC_URI="mirror://sourceforge/nini/Nini-${PV}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=dev-lang/mono-2" +DEPEND="${RDEPEND} + app-arch/sharutils + sys-apps/sed" + +S=${WORKDIR}/Nini/Source + +src_prepare() { + uudecode -o Nini.snk "${FILESDIR}"/Nini.snk.uue +} + +src_configure() { + use debug&&DEBUG="-debug" +} + +src_compile() { + #See nini in Debian for info + gmcs ${DEBUG} \ + -nowarn:1616 \ + -target:library \ + -out:Nini.dll \ + -define:STRONG \ + -r:System.dll \ + -r:System.Xml.dll \ + -keyfile:Nini.snk \ + AssemblyInfo.cs Config/*.cs Ini/*.cs Util/*.cs \ + || die "Compilation failed" + + sed \ + -e 's|@prefix@|${pcfiledir}/../..|' \ + -e 's|@exec_prefix@|${prefix}|' \ + -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)|" \ + -e "s|@libs@|-r:\$\{libdir\}/mono/Nini/Nini.dll|" \ + -e "s|@VERSION@|${PV}|" \ + "${FILESDIR}"/nini.pc.in > "${S}"/nini.pc +} + +src_install() { + egacinstall Nini.dll Nini + pkgconfigdir=/usr/$(get_libdir)/pkgconfig + insinto ${pkgconfigdir} + newins "${S}"/nini.pc ${P}.pc + dosym ${P}.pc ${pkgconfigdir}/${PN}-$(get_version_component_range 1-2).pc + dosym ${P}.pc ${pkgconfigdir}/${PN}.pc + + dodoc "${S}"/../CHANGELOG.txt "${S}"/../README.txt +} -- cgit v1.2.3-65-gdbad