milis/talimatname/genel/jsoncpp/talimat

18 lines
446 B
Plaintext
Raw Normal View History

2016-07-21 20:30:14 +02:00
# Description: JSON library
# URL: http://jsoncpp.sourceforge.net/
# Packager: milisarge
2016-07-21 21:41:38 +02:00
# Depends on: scons
2016-07-21 20:30:14 +02:00
name=jsoncpp
version=1.7.4
release=1
source=(https://github.com/open-source-parsers/$name/archive/$version.zip)
build () {
cd $name-$version
2016-07-21 21:41:38 +02:00
scons platform=linux-gcc
mkdir -p $PKG/usr/{include/jsoncpp,lib}
cp -r include/json $PKG/usr/include/jsoncpp/
cp libs/linux-gcc-*/libjson_linux-gcc-*_libmt.so $PKG/usr/lib/libjsoncpp.so
2016-07-21 20:30:14 +02:00
}