2012-01-15 16:30:56 +01:00
|
|
|
# Description: JSON implementation in C
|
2013-06-11 18:00:31 +02:00
|
|
|
# URL: https://github.com/json-c/json-c/wiki
|
2012-01-15 16:30:56 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
|
|
|
|
name=json-c
|
2014-06-20 18:04:09 +02:00
|
|
|
version=0.12-20140410
|
2012-01-15 16:30:56 +01:00
|
|
|
release=1
|
2014-06-20 18:04:09 +02:00
|
|
|
source=(https://github.com/json-c/json-c/archive/$name-$version.tar.gz)
|
2012-01-15 16:30:56 +01:00
|
|
|
|
|
|
|
build() {
|
2014-06-20 18:04:09 +02:00
|
|
|
cd $name-$name-$version
|
|
|
|
sed -i '/^AM_CFLAGS/s/$/ -Wno-error=unused-but-set-variable/' Makefile.am.inc
|
2014-11-10 17:37:36 +01:00
|
|
|
autoreconf -i
|
2012-01-15 16:30:56 +01:00
|
|
|
./configure --prefix=/usr
|
2013-04-07 09:53:44 +02:00
|
|
|
make -j1
|
2012-01-15 16:30:56 +01:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|