mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
jsoncpp, don't build/install the static library (#8545)
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="f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2"
|
||||
SOURCE_FILENAME="jsoncpp-$portVersion.tar.gz"
|
||||
@@ -47,18 +47,15 @@ BUILD_PREREQUIRES="
|
||||
|
||||
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