diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-08-27 21:50:41 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-08-27 21:50:41 +0000 |
commit | b4bde6ac0944c8240f45572c89d9189865f7675d (patch) | |
tree | 7efadbfef79531189113c8a75c6fc3da231d577f /dev-dotnet/nini | |
parent | fix some harmless warnings (diff) | |
download | gentoo-2-b4bde6ac0944c8240f45572c89d9189865f7675d.tar.gz gentoo-2-b4bde6ac0944c8240f45572c89d9189865f7675d.tar.bz2 gentoo-2-b4bde6ac0944c8240f45572c89d9189865f7675d.zip |
long overdue version bump
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'dev-dotnet/nini')
-rw-r--r-- | dev-dotnet/nini/ChangeLog | 8 | ||||
-rw-r--r-- | dev-dotnet/nini/files/digest-nini-1.1.0 | 3 | ||||
-rw-r--r-- | dev-dotnet/nini/files/nini-1.1.0.build | 38 | ||||
-rw-r--r-- | dev-dotnet/nini/nini-1.1.0.ebuild | 57 |
4 files changed, 105 insertions, 1 deletions
diff --git a/dev-dotnet/nini/ChangeLog b/dev-dotnet/nini/ChangeLog index 8f3db2c81fde..c27378b2f963 100644 --- a/dev-dotnet/nini/ChangeLog +++ b/dev-dotnet/nini/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-dotnet/nini # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/ChangeLog,v 1.3 2006/02/01 21:47:38 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/ChangeLog,v 1.4 2006/08/27 21:50:41 compnerd Exp $ + +*nini-1.1.0 (27 Aug 2006) + + 27 Aug 2006; Saleem Abdulrasool <compnerd@gentoo.org> + +files/nini-1.1.0.build, +nini-1.1.0.ebuild: + Version bump from upstream (bug #130088) 01 Feb 2006; Luis Medinas <metalgod@gentoo.org> nini-1.0.0-r1.ebuild: Added ~amd64 keyword. Closes bug #121115. diff --git a/dev-dotnet/nini/files/digest-nini-1.1.0 b/dev-dotnet/nini/files/digest-nini-1.1.0 new file mode 100644 index 000000000000..cbcd0c96b338 --- /dev/null +++ b/dev-dotnet/nini/files/digest-nini-1.1.0 @@ -0,0 +1,3 @@ +MD5 63384f75fabd401cff1500f738d452f4 Nini-1.1.0.zip 1246584 +RMD160 64a2d0697da527061ca6b5b50075e2e365338e32 Nini-1.1.0.zip 1246584 +SHA256 460cc71d931a8fb9afbc86c764eddb926051a71bde0f7deb04e22066b125270b Nini-1.1.0.zip 1246584 diff --git a/dev-dotnet/nini/files/nini-1.1.0.build b/dev-dotnet/nini/files/nini-1.1.0.build new file mode 100644 index 000000000000..542192ec4d29 --- /dev/null +++ b/dev-dotnet/nini/files/nini-1.1.0.build @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<project name="Nini" default="compile" basedir="."> + <description>.NET Configuration Library</description> + + <property name="debug" value="false" overwrite="false"/> + <property name="project.name" value="Nini"/> + + <property name="build" value="build"/> + <property name="src" value="Source"/> + + <!-- Switch to .NET 2.0 Framework --> + <property name="nant.settings.currentframework" value="mono-2.0"/> + + <target name="init"> + <mkdir dir="${build}" if="${not directory::exists(build)}"/> + </target> + + <target name="compile" depends="init"> + <csc target="library" output="${build}/${project.name}.dll" debug="${debug}"> + <references> + <include name="System.dll"/> + <include name="System.Xml.dll"/> + </references> + + <sources> + <include name="${src}/*.cs"/> + <include name="${src}/Ini/*.cs"/> + <include name="${src}/Util/*.cs"/> + <include name="${src}/Config/*.cs"/> + </sources> + </csc> + </target> + + <target name="clean"> + <delete dir="${build}" if="${directory::exists(build)}"/> + </target> +</project> diff --git a/dev-dotnet/nini/nini-1.1.0.ebuild b/dev-dotnet/nini/nini-1.1.0.ebuild new file mode 100644 index 000000000000..693474feee01 --- /dev/null +++ b/dev-dotnet/nini/nini-1.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 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.ebuild,v 1.1 2006/08/27 21:50:41 compnerd Exp $ + +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-1.1.8" +DEPEND="${RDEPEND} + app-arch/unzip + dev-dotnet/nant + dev-util/pkgconfig + sys-apps/sed" + +S=${WORKDIR}/Nini + +src_unpack() { + unpack ${A} || die "Unable to extract sources" + + cp ${FILESDIR}/nini-${PV}.build ${S}/nini.build + cp ${FILESDIR}/nini.pc.in ${S} +} + +src_compile() { + local myconf="" + use debug && myconf="-D:debug=true" + + nant ${myconf} || die "Failed to build" + + sed -e "s|@prefix@|/usr|" \ + -e 's|@exec_prefix@|${prefix}|' \ + -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)/nini|" \ + -e "s|@libs@|-r:\$\{libdir\}/Nini.dll|" \ + -e "s|@VERSION@|${PV}|" \ + ${S}/nini.pc.in > ${S}/nini.pc +} + +src_install() { + dodir /usr/$(get_libdir)/nini/ + + insinto /usr/$(get_libdir)/nini/ + doins ${S}/build/Nini.dll + use debug && doins ${S}/build/Nini.dll.mdb + + insinto /usr/$(get_libdir)/pkgconfig/ + doins ${S}/nini.pc + + dodoc ${S}/CHANGELOG.txt ${S}/README.txt +} |