2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: JSON C++ kütüphanesi
|
|
|
|
|
# URL: http://jsoncpp.sourceforge.net/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake
|
2018-08-08 14:24:17 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=jsoncpp
|
|
|
|
|
surum=1.8.4
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/open-source-parsers/$isim/archive/$surum.tar.gz::${isim}-${surum}.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd ${isim}-${surum}
|
|
|
|
|
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
|
|
|
|
|
install -Dm 644 LICENSE -t "${PKG}/usr/share/licenses/${isim}"
|
|
|
|
|
}
|