19 lines
417 B
Plaintext
19 lines
417 B
Plaintext
# Description: A JSON implementation in C
|
|
# URL: https://github.com/json-c/json-c/wiki
|
|
# Packager: milisarge
|
|
# Depends on:
|
|
|
|
name=json-c
|
|
version=0.12
|
|
release=1
|
|
source=(https://s3.amazonaws.com/${name}_releases/releases/$name-$version.tar.gz)
|
|
|
|
build(){
|
|
cd $name-$version
|
|
CFLAGS="$CFLAGS -Wno-error"
|
|
./configure --prefix=/usr \
|
|
--disable-static
|
|
make check
|
|
make DESTDIR=$PKG install
|
|
}
|