mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
jsoncpp, revbump disable not used cmd:python (#10131)
This commit is contained in:
@@ -6,7 +6,7 @@ convenient format to store user input files."
|
||||
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
|
||||
COPYRIGHT="2007-2018 Baptiste Lepilleur and The JsonCpp Authors"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/open-source-parsers/jsoncpp/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e34a628a8142643b976c7233ef381457efad79468c67cb1ae0b83a33d7493999"
|
||||
SOURCE_DIR="jsoncpp-$portVersion"
|
||||
@@ -37,23 +37,20 @@ BUILD_PREREQUIRES="
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
# cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
for i in shared static; do
|
||||
meson --prefix="$prefix" --libdir="$libDir" --includedir="$includeDir" \
|
||||
--buildtype release \
|
||||
--default-library $i . build-$i
|
||||
ninja -C build-$i $jobArgs
|
||||
done
|
||||
meson --prefix="$prefix" --libdir="$libDir" --includedir="$includeDir" \
|
||||
--buildtype release \
|
||||
--default-library shared . build-shared
|
||||
ninja -C build-shared $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -C build-shared install
|
||||
ninja -C build-static install
|
||||
|
||||
prepareInstalledDevelLib libjsoncpp
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user