summaryrefslogtreecommitdiffstats
path: root/abs/extra/iniparser
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-10 18:27:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-10 18:27:34 (GMT)
commit7c3606924e87e8c63cce5f9051cabfedfaebf13b (patch)
tree8594a065c60d1c7f878c4becfdf2b2ac7a32563b /abs/extra/iniparser
parenta7f7a5acda2da4c00448d672c55ca143c5c15bb9 (diff)
downloadlinhes_pkgbuild-7c3606924e87e8c63cce5f9051cabfedfaebf13b.zip
linhes_pkgbuild-7c3606924e87e8c63cce5f9051cabfedfaebf13b.tar.gz
linhes_pkgbuild-7c3606924e87e8c63cce5f9051cabfedfaebf13b.tar.bz2
iniparser: initial inclusion. dep of samba. refs #961
Diffstat (limited to 'abs/extra/iniparser')
-rw-r--r--abs/extra/iniparser/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/iniparser/PKGBUILD b/abs/extra/iniparser/PKGBUILD
new file mode 100644
index 0000000..8f36631
--- /dev/null
+++ b/abs/extra/iniparser/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+
+pkgname=iniparser
+pkgver=3.1
+pkgrel=4
+pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C"
+arch=('i686' 'x86_64')
+url="http://ndevilla.free.fr/iniparser/"
+license=('MIT')
+depends=('glibc')
+makedepends=('chrpath')
+source=(http://ndevilla.free.fr/iniparser/$pkgname-$pkgver.tar.gz)
+md5sums=('0aa4f995468ed390caf323f50a285bc3')
+
+build() {
+ cd $srcdir/$pkgname
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
+ install -Dm644 src/iniparser.h $pkgdir/usr/include/iniparser.h
+ install -Dm644 src/dictionary.h $pkgdir/usr/include/dictionary.h
+ install -Dm644 libiniparser.a $pkgdir/usr/lib/libiniparser.a
+ install -Dm644 libiniparser.so.0 $pkgdir/usr/lib/libiniparser.so.0
+ install -Dm644 LICENSE $pkgdir/usr/share/licenses/iniparser/LICENSE
+ ln -sf libiniparser.so.0 $pkgdir/usr/lib/libiniparser.so
+ chrpath -d $pkgdir/usr/lib/libiniparser.so
+}