Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
669 B

import 'compile/cmake'
name=jsoncpp
version=1.7.7
update_url="https://github.com/open-source-parsers/$name/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/open-source-parsers/$name/archive/$version.tar.gz" \
'9b51c65c563463220a8cb5fa33d525f8'
header_end
cd "$name-$version"
# Fix paths
sed -i -e "s/lib\${LIB_SUFFIX}\/pkgconfig/$(safe_sed "$dir_libdir/pkgconfig")/" CMakeLists.txt
compile_cmake -- \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DRUNTIME_INSTALL_DIR="/$dir_prefix/$dir_bindir" \
-DLIBRARY_INSTALL_DIR="/$dir_prefix/$dir_libdir"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: