From 56a20256eec10faaa55973f0fd83ffa2524af817 Mon Sep 17 00:00:00 2001 From: milisman Date: Thu, 21 Jul 2016 19:41:38 +0000 Subject: [PATCH] jsoncpp.paketlendi --- talimatname/genel/jsoncpp/talimat | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/talimatname/genel/jsoncpp/talimat b/talimatname/genel/jsoncpp/talimat index cca1a925e..4e4083270 100644 --- a/talimatname/genel/jsoncpp/talimat +++ b/talimatname/genel/jsoncpp/talimat @@ -1,7 +1,7 @@ # Description: JSON library # URL: http://jsoncpp.sourceforge.net/ # Packager: milisarge -# Depends on: cmake +# Depends on: scons name=jsoncpp version=1.7.4 @@ -10,12 +10,8 @@ source=(https://github.com/open-source-parsers/$name/archive/$version.zip) build () { cd $name-$version - mkdir -p build/debug - cd build/debug - cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ../.. - make - make DESTDIR=$PKG install - cp -r $PKG/usr/local/* $PKG/usr/ - rm -r $PKG/usr/local - rm -r $PKG/tmp/work + 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 }