updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-json-c / PKGBUILD
blob99b63d7e3fe5eeeb08304317f64d956bfaf17272
1 # Contributor: Julien Quintard <mycure [at] gmail [dot] com>
2 # Maintainer: Julien Quintard <mycure [at] gmail [dot] com>
4 pkgname=mingw32-json-c
5 pkgver=0.9
6 pkgrel=1
7 pkgdesc="A JSON implementation in C"
8 arch=('i686' 'x86_64')
9 url="http://oss.metaparadigm.com/json-c/"
10 license=('MIT')
11 depends=(glibc)
12 source=("http://oss.metaparadigm.com/json-c/json-c-$pkgver.tar.gz")
13 md5sums=('3a13d264528dcbaf3931b0cede24abae')
14 options=('!strip' '!buildflags')
16 build()
18     cd "$srcdir/json-c-$pkgver"
19     ./configure --prefix=/usr/i486-mingw32 --build=$CHOST --host=i486-mingw32
20     make
23 package()
25     cd "$srcdir/json-c-$pkgver"
26     make DESTDIR=$pkgdir install