quazip, remove static library (#9109)

This commit is contained in:
Schrijvers Luc
2023-07-29 17:12:42 +00:00
committed by GitHub
parent 7d920c9f0b
commit d5314b84f6

View File

@@ -4,7 +4,7 @@ package (AKA Minizip) using Trolltech's Qt library."
HOMEPAGE="https://github.com/stachenov/quazip"
COPYRIGHT="2005-2014 Sergey A. Tachenov"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/stachenov/quazip/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4fda4d4248e08015b5090d0369ef9e68bdc4475aa12494f7c0f6d79e43270d14"
SOURCE_FILENAME="quazip-$portVersion.tar.gz"
@@ -54,30 +54,31 @@ defineDebugInfoPackage quazip$secondaryArchSuffix \
BUILD()
{
cmake . \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DINSTALL_PATH=$dataDir
make $jobArgs
-DINSTALL_PATH=$libDir
make -C build $jobArgs
}
INSTALL()
{
make install
make -C build install
fixPkgconfig
# remove static library
rm -f $libDir/libquazip5.a
# prepare develop/lib
prepareInstalledDevelLibs libquazip5
prepareInstalledDevelLib libquazip5
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$dataDir/cmake
$libDir/cmake
}
TEST()
{
make check
make -C build check
# There is no cmake compatible test.
}