2017-01-31 02:35:21 +01:00
|
|
|
# Description: JSON C++ kütüphanesi
|
|
|
|
# URL: http://jsoncpp.sourceforge.net/
|
2016-07-21 20:30:14 +02:00
|
|
|
# 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
|
|
|
}
|