2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: JSON C++ kütüphanesi
|
2017-01-31 02:35:21 +01:00
|
|
|
|
# URL: http://jsoncpp.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake
|
2016-07-21 20:30:14 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=jsoncpp
|
2018-03-11 05:09:04 +01:00
|
|
|
|
surum=1.8.4
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2018-03-11 05:09:04 +01:00
|
|
|
|
kaynak=(https://github.com/open-source-parsers/$isim/archive/$surum.tar.gz::${isim}-${surum}.tar.gz)
|
2016-07-21 20:30:14 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd ${isim}-${surum}
|
2017-07-25 03:13:20 +02:00
|
|
|
|
mkdir -p build
|
|
|
|
|
#python3 doxybuild.py --with-dot
|
|
|
|
|
cd build
|
|
|
|
|
cmake \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
|
|
-DBUILD_STATIC_LIBS=ON \
|
|
|
|
|
..
|
|
|
|
|
make
|
|
|
|
|
cd ..
|
|
|
|
|
make -C build DESTDIR="${PKG}" install
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm 644 LICENSE -t "${PKG}/usr/share/licenses/${isim}"
|
2016-07-21 20:30:14 +02:00
|
|
|
|
}
|