diff options
Diffstat (limited to 'libraries/nini')
-rw-r--r-- | libraries/nini/Makefile | 24 | ||||
-rw-r--r-- | libraries/nini/Nini.snk.uue | 17 | ||||
-rw-r--r-- | libraries/nini/README | 6 | ||||
-rw-r--r-- | libraries/nini/nini.SlackBuild | 81 | ||||
-rw-r--r-- | libraries/nini/nini.info | 10 | ||||
-rw-r--r-- | libraries/nini/nini.pc | 9 | ||||
-rw-r--r-- | libraries/nini/slack-desc | 19 |
7 files changed, 166 insertions, 0 deletions
diff --git a/libraries/nini/Makefile b/libraries/nini/Makefile new file mode 100644 index 0000000000..1c50853597 --- /dev/null +++ b/libraries/nini/Makefile @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +MCS = gmcs +TARGET = Nini.dll +KEYFILE = Nini.snk + +SOURCES = Source/AssemblyInfo.cs \ + Source/Config/*.cs \ + Source/Ini/*.cs \ + Source/Util/*.cs + +DEFINES = -define:MONO_2_0 \ + -define:STRONG + +REFERENCES = -r:System.dll \ + -r:System.Xml.dll + +all: $(TARGET) + +$(TARGET): $(KEYFILE) $(SOURCES) + mkdir -p build + $(MCS) -target:library -out:build/"$@" \ + $(DEFINES) $(REFERENCES) -keyfile:$(KEYFILE) $(SOURCES) + diff --git a/libraries/nini/Nini.snk.uue b/libraries/nini/Nini.snk.uue new file mode 100644 index 0000000000..7fd27217fd --- /dev/null +++ b/libraries/nini/Nini.snk.uue @@ -0,0 +1,17 @@ +begin 600 Nini.snk +M!P(````D``!24T$R``0``!$```"M"VY;.)&'^47#V1XRZK&L!JH`'DGLG<\[ +M"LBOVSTV7G<+?3._7#3<#<UD1G:^SPX+#QT9C(:EN&/V]%74"X8U@0^1:LPO +M[!_])"\ZN=.W4Z$N1BHMX3Q_R6JS06D[^I!O(H_X"0B]ZR\@`_DNS9`3L1L3 +M^)'=V#/-C?;_\X4WLE'E(.!R%+0Y2E5<S*65.#.=]TX,8_1YT[`A:@*>$J^I +M6I7[PU8Z^8E45^O#O&2R=,*B1&VB>*-@/LL)[M3E.N&=F?2=E`!H>2PR%AUB +M_19@,5N<$$5LZ<,)#6)&"9`M5EFVQ]*I9'$>?'%-V++-]&KUJ!"%VNKS]RH/ +M9,KW9Y#*H14L+S@_^4$%#^A*D@M02R&`&$<Y;CY@]ED2\Q*VUK,$P*%A']G, +MB#MZHG"(_C.CNJU:48^(V^L8=]ND?W^[QO7SH-?BI?TQ]%]%5QDLOE04K8N[ +M9_]!Y^6,57>IE>6,Z!TTP!C/3-#G6YC@A2>_X#?K%8+AC8+/+_?LZ4>C:%,P +M+FN11TL5R&W@WFV_%],I,RVA@Y_AP,[J&VLW)61KI/9"<G"3ZL<_;<TM2]^A +MC$])X,@/#MOD=-^KL6$-MZDQ<?M7Q:_/H]_7QQA*JBE^JZ8:F;6B&!+R\>%' +MS=!__IA5!Z@7NQ27&^=L4;E!9"%R-?L<3=\<A+A58HU4%3,#"&FRLTB98Z1T +MT'C,$2!RIOFB8M`B%E]N#L0J_1?``[_13`VCO8_WYH4VSS[Z<2%93`I3IB9I ++I\$YY9)26C)0Q)(` +` +end diff --git a/libraries/nini/README b/libraries/nini/README new file mode 100644 index 0000000000..606811fea4 --- /dev/null +++ b/libraries/nini/README @@ -0,0 +1,6 @@ +Nini (.NET configuration library) + +Nini is an uncommonly powerful .NET configuration library designed +to help build highly configurable applications quickly. + +This requires mono. diff --git a/libraries/nini/nini.SlackBuild b/libraries/nini/nini.SlackBuild new file mode 100644 index 0000000000..4c8473e8b7 --- /dev/null +++ b/libraries/nini/nini.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for nini + +# Written by crocket (crockabiscuit@yahoo.com) + +PRGNAM=nini +CPRGNAM=Nini +VERSION=${VERSION:-1.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +unzip $CWD/$CPRGNAM-$VERSION.zip +mv $CPRGNAM $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +cat $CWD/Makefile > Makefile +cat $CWD/nini.pc > nini.pc +uudecode -o $CPRGNAM.snk $CWD/$CPRGNAM.snk.uue + +make + +# Install Nini.dll into GAC +gacutil -i build/$CPRGNAM.dll -package $CPRGNAM -root $PKG/usr/lib + +# Copy the pkgconfig file +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig +cp $PRGNAM.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.txt README.txt Docs/* Examples \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/nini/nini.info b/libraries/nini/nini.info new file mode 100644 index 0000000000..423d7d4032 --- /dev/null +++ b/libraries/nini/nini.info @@ -0,0 +1,10 @@ +PRGNAM="nini" +VERSION="1.1.0" +HOMEPAGE="http://sourceforge.net/projects/nini/" +DOWNLOAD="http://downloads.sourceforge.net/nini/Nini-1.1.0.zip" +MD5SUM="63384f75fabd401cff1500f738d452f4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="crocket" +EMAIL="crockabiscuit@yahoo.com" +APPROVED="rworkman" diff --git a/libraries/nini/nini.pc b/libraries/nini/nini.pc new file mode 100644 index 0000000000..2ffad8d5f7 --- /dev/null +++ b/libraries/nini/nini.pc @@ -0,0 +1,9 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib + +Name: nini +Description: Nini - CLI library for managing configuration files +Version: 1.1.0 +Libs: -r:${libdir}/mono/Nini/Nini.dll + diff --git a/libraries/nini/slack-desc b/libraries/nini/slack-desc new file mode 100644 index 0000000000..67bd4e0882 --- /dev/null +++ b/libraries/nini/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +nini: Nini (.NET configuration library) +nini: +nini: Nini is an uncommonly powerful .NET configuration library designed +nini: to help build highly configurable applications quickly. +nini: +nini: The website of Nini is http://sourceforge.net/projects/nini/ +nini: +nini: +nini: +nini: +nini: |