18 lines
470 B
Plaintext
18 lines
470 B
Plaintext
# Description: JSON implementation in C
|
|
# URL: https://github.com/json-c/json-c/wiki
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
name=json-c
|
|
version=0.12
|
|
release=1
|
|
source=(https://s3.amazonaws.com/json-c_releases/releases/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
sed -i '/^AM_CFLAGS/s/$/ -Wno-error=unused-but-set-variable/' Makefile.am.inc
|
|
autoreconf -i
|
|
./configure --prefix=/usr
|
|
make -j1
|
|
make DESTDIR=$PKG install
|
|
}
|