summaryrefslogtreecommitdiff
path: root/community/jansson
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/jansson
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/jansson')
-rw-r--r--community/jansson/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/jansson/PKGBUILD b/community/jansson/PKGBUILD
new file mode 100644
index 000000000..db43bce92
--- /dev/null
+++ b/community/jansson/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 76779 2012-09-29 19:28:30Z kkeen $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Dave Reisner <d@falconindy.com>
+
+pkgname=jansson
+pkgver=2.4
+pkgrel=1
+pkgdesc='C library for encoding, decoding and manipulating JSON data'
+arch=('i686' 'x86_64')
+url='http://www.digip.org/jansson/'
+depends=('glibc')
+license=('MIT')
+options=('!libtool')
+source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
+md5sums=('3aaa1bb1195d705fac602b7504c9b945')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: