milis/talimatname/genel/json-c/talimat

19 lines
416 B
Plaintext
Raw Normal View History

2017-03-27 15:37:24 +02:00
# Description: C'de bir JSON uygulaması
2017-01-31 02:35:21 +01:00
# URL: https://github.com/json-c/json-c/wiki
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
name=json-c
version=0.12
release=1
2017-01-31 02:35:21 +01:00
source=(https://s3.amazonaws.com/${name}_releases/releases/$name-$version.tar.gz)
2016-02-24 01:27:23 +01:00
build(){
cd $name-$version
CFLAGS="$CFLAGS -Wno-error"
./configure --prefix=/usr \
--disable-static
make check
2017-01-31 02:35:21 +01:00
make DESTDIR=$PKG install
2016-02-24 01:27:23 +01:00
}