flif, disable static library (#8274)

This commit is contained in:
Schrijvers Luc
2023-04-04 14:01:20 +02:00
committed by GitHub
parent 9894408a1d
commit d4fbc16dfc

View File

@@ -17,7 +17,7 @@ COPYRIGHT="2016 Jon Sneyers
LICENSE="Apache v2
GNU GPL v3
GNU LGPL v3"
REVISION="1"
REVISION="2"
srcGitRev="74ea92bf1ab2db18ae6d2a521dff946fcc679618"
SOURCE_URI="https://github.com/FLIF-hub/FLIF/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="aeeb4d24f19204f2b0cecc41ee1ebdda1c1ae730f0c6fa4969f67aab7e5eccac"
@@ -85,14 +85,15 @@ BUILD_PREREQUIRES="
BUILD()
{
cd src
cmake . $cmakeDirArgs
cmake . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DBUILD_STATIC_LIBS=OFF
make $jobArgs
}
INSTALL()
{
cd src
make install
make -C src install
prepareInstalledDevelLibs libflif libflif_dec
@@ -112,12 +113,12 @@ EOF
packageEntries devel \
$developDir
packageEntries tools \
$binDir/viewflif
}
TEST()
{
cd src
make test
make -C src test
}