description="A JSON implementation in C"
url="https://github.com/json-c/json-c/wiki"
packager="tnut at nutyx at org"

name=json-c
version=0.12.1
release=1

source=(
https://s3.amazonaws.com/${name}_releases/releases/$name-$version.tar.gz)

build(){
    cd $name-$version
    sed -i s/-Werror// Makefile.in
    ./configure --prefix=/usr \
                --disable-static
    make -j1
    make DESTDIR=$PKG install    
}
