jsoncpp.paketlendi
This commit is contained in:
parent
76817d8dce
commit
b9e87fbd51
|
@ -0,0 +1,21 @@
|
|||
# Description: JSON library
|
||||
# URL: http://jsoncpp.sourceforge.net/
|
||||
# Packager: milisarge
|
||||
# Depends on: cmake
|
||||
|
||||
name=jsoncpp
|
||||
version=1.7.4
|
||||
release=1
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue