diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-08 06:00:05 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-08 06:00:05 +0000 |
commit | 117b3f8ae2788227062411bfae1fa442e734d29d (patch) | |
tree | 645ae953498842b6d7533fb0b345bef794e9f3be /dev-dotnet/nini | |
parent | version bump (diff) | |
download | gentoo-2-117b3f8ae2788227062411bfae1fa442e734d29d.tar.gz gentoo-2-117b3f8ae2788227062411bfae1fa442e734d29d.tar.bz2 gentoo-2-117b3f8ae2788227062411bfae1fa442e734d29d.zip |
Initial import; p.masked; Resolves bug #101676
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-dotnet/nini')
-rw-r--r-- | dev-dotnet/nini/ChangeLog | 11 | ||||
-rw-r--r-- | dev-dotnet/nini/Manifest | 6 | ||||
-rw-r--r-- | dev-dotnet/nini/files/digest-nini-1.0.0 | 1 | ||||
-rw-r--r-- | dev-dotnet/nini/files/nini-1.0.0.build | 55 | ||||
-rw-r--r-- | dev-dotnet/nini/files/nini.pc.in | 9 | ||||
-rw-r--r-- | dev-dotnet/nini/metadata.xml | 13 | ||||
-rw-r--r-- | dev-dotnet/nini/nini-1.0.0.ebuild | 52 |
7 files changed, 147 insertions, 0 deletions
diff --git a/dev-dotnet/nini/ChangeLog b/dev-dotnet/nini/ChangeLog new file mode 100644 index 000000000000..ff5484fa7684 --- /dev/null +++ b/dev-dotnet/nini/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-dotnet/nini +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/ChangeLog,v 1.1 2005/11/08 06:00:05 compnerd Exp $ + +*nini-1.0.0 (08 Nov 2005) + + 08 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org> + +files/nini-1.0.0.build, +files/nini.pc.in, +metadata.xml, + +nini-1.0.0.ebuild: + Initial import of Nini. Resolves bug #101676. + diff --git a/dev-dotnet/nini/Manifest b/dev-dotnet/nini/Manifest new file mode 100644 index 000000000000..d4a6afea0f96 --- /dev/null +++ b/dev-dotnet/nini/Manifest @@ -0,0 +1,6 @@ +MD5 e7af27af786716798b1d1c5f121567ab ChangeLog 332 +MD5 3eb6b2b4d8bd7af0b522fd82eb2d7bdf files/digest-nini-1.0.0 60 +MD5 517b7a772a58a6e6fd80b643c2be584b files/nini-1.0.0.build 2111 +MD5 387a2b28d8c145d04360c42db79b2771 files/nini.pc.in 143 +MD5 30f80a060407365f6c87eedde0dfdbfd metadata.xml 341 +MD5 6f2b3ff7424880432604efb54752bc03 nini-1.0.0.ebuild 1121 diff --git a/dev-dotnet/nini/files/digest-nini-1.0.0 b/dev-dotnet/nini/files/digest-nini-1.0.0 new file mode 100644 index 000000000000..9fde8cb1f379 --- /dev/null +++ b/dev-dotnet/nini/files/digest-nini-1.0.0 @@ -0,0 +1 @@ +MD5 527bca101d9a23611a69377b70b5ae26 Nini-1.0.0.zip 1118461 diff --git a/dev-dotnet/nini/files/nini-1.0.0.build b/dev-dotnet/nini/files/nini-1.0.0.build new file mode 100644 index 000000000000..f33f2c35629a --- /dev/null +++ b/dev-dotnet/nini/files/nini-1.0.0.build @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> + +<project name="Nini" default="compile" basedir="."> + <description>.NET Configuration Library</description> + + <property name="debug" value="false"/> + <property name="project.name" value="Nini"/> + + <property name="build" value="build"/> + <property name="src" value="Source"/> + + <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}/AssemblyInfo.cs"/> + + <include name="${src}/Ini/IniDocument.cs"/> + <include name="${src}/Ini/IniReader.cs"/> + <include name="${src}/Ini/IniWriter.cs"/> + <include name="${src}/Ini/IniException.cs"/> + <include name="${src}/Ini/IniSectionCollection.cs"/> + <include name="${src}/Ini/IniSection.cs"/> + <include name="${src}/Ini/IniItem.cs"/> + + <include name="${src}/Config/ArgvConfigSource.cs"/> + <include name="${src}/Config/ConfigBase.cs"/> + <include name="${src}/Config/ConfigSourceBase.cs"/> + <include name="${src}/Config/IniConfigSource.cs"/> + <include name="${src}/Config/DotNetConfigSource.cs"/> + <include name="${src}/Config/XmlConfigSource.cs"/> + <include name="${src}/Config/AliasText.cs"/> + <include name="${src}/Config/IConfig.cs"/> + <include name="${src}/Config/IConfigSource.cs"/> + <include name="${src}/Config/ConfigCollection.cs"/> + + <include name="${src}/Util/ArgvParser.cs"/> + <include name="${src}/Util/OrderedList.cs"/> + <include name="${src}/Util/OrderedListEnumerator.cs"/> + </sources> + </csc> + </target> + + <target name="clean"> + <delete dir="${build}" if="${directory::exists(build)}"/> + </target> +</project> diff --git a/dev-dotnet/nini/files/nini.pc.in b/dev-dotnet/nini/files/nini.pc.in new file mode 100644 index 000000000000..5a8f90b49749 --- /dev/null +++ b/dev-dotnet/nini/files/nini.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ + + +Name: Nini +Description: .NET Configuration Library +Version: @VERSION@ +Libs: @libs@ diff --git a/dev-dotnet/nini/metadata.xml b/dev-dotnet/nini/metadata.xml new file mode 100644 index 000000000000..ae0529c769aa --- /dev/null +++ b/dev-dotnet/nini/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dotnet</herd> + <maintainer> + <email>compnerd@gentoo.org</email> + <name>Saleem Abdulrasool</name> + </maintainer> + <longdescription lang="en"> + A .NET configuration library + </longdescription> +</pkgmetadata> + diff --git a/dev-dotnet/nini/nini-1.0.0.ebuild b/dev-dotnet/nini/nini-1.0.0.ebuild new file mode 100644 index 000000000000..364d30e0b75e --- /dev/null +++ b/dev-dotnet/nini/nini-1.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nini/nini-1.0.0.ebuild,v 1.1 2005/11/08 06:00:05 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="~x86" +IUSE="" + +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() { + nant || 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 + + insinto /usr/$(get_libdir)/pkgconfig/ + doins ${S}/nini.pc + + dodoc ${S}/CHANGELOG.txt ${S}/README.txt +} |