aboutsummaryrefslogtreecommitdiffstats
path: root/main/json-glib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:22 +0000
commit947bb1f2152ac3d9638f90e5efb6c3c4b05b64d4 (patch)
tree52ab92d9b71c0fd8b380a3434e548fab8f89151d /main/json-glib/APKBUILD
parent5b74111b3183108e728f9c80e01df6a0d6b3767f (diff)
downloadaports-947bb1f2152ac3d9638f90e5efb6c3c4b05b64d4.tar.bz2
aports-947bb1f2152ac3d9638f90e5efb6c3c4b05b64d4.tar.xz
main/json-glib: moved from testing
Diffstat (limited to 'main/json-glib/APKBUILD')
-rw-r--r--main/json-glib/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/json-glib/APKBUILD b/main/json-glib/APKBUILD
new file mode 100644
index 0000000000..c0aed8223f
--- /dev/null
+++ b/main/json-glib/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=json-glib
+pkgver=0.12.2
+pkgrel=0
+pkgdesc="JSON library built on GLib"
+arch="all"
+url="http://live.gnome.org/JsonGlib"
+license="GPL"
+depends=""
+makedepends="gobject-introspection glib-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.12/json-glib-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="71f911329c9f742543b378c3494490da json-glib-0.12.2.tar.bz2"