mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
cmocka, cleanup (#8203)
This commit is contained in:
@@ -7,7 +7,7 @@ COPYRIGHT="2008 Google Inc.
|
||||
2014-2018 Andreas Schneider
|
||||
2015 Jakub Hrozek"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cmocka.org/files/${portVersion%.*}/cmocka-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6"
|
||||
PATCHES="cmocka-$portVersion.patchset"
|
||||
@@ -49,22 +49,17 @@ defineDebugInfoPackage cmocka$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DINCLUDE_INSTALL_DIR="$includeDir" \
|
||||
-DLIBEXEC_INSTALL_DIR="$libDir" \
|
||||
-DLIB_INSTALL_DIR="$libDir"
|
||||
|
||||
make $jobArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libcmocka
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user