libicns, disable static library (#8363)

This commit is contained in:
Schrijvers Luc
2023-04-13 14:39:11 +02:00
committed by GitHub
parent 8c75b656a4
commit 81b772f813

View File

@@ -6,7 +6,7 @@ resource files and macbinary encoded Mac OS resource forks."
HOMEPAGE="https://sourceforge.net/projects/icns"
COPYRIGHT="2001-2012 Matthew Eis"
LICENSE="GNU LGPL v2.1"
REVISION="8"
REVISION="9"
SOURCE_URI="http://sourceforge.net/projects/icns/files/libicns-$portVersion.tar.gz"
CHECKSUM_SHA256="335f10782fc79855cf02beac4926c4bf9f800a742445afbbf7729dab384555c2"
PATCHES="libicns-$portVersion.patchset
@@ -15,9 +15,12 @@ PATCHES="libicns-$portVersion.patchset
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
libVersion="1.2.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libicns$secondaryArchSuffix = $portVersion compat >= 0.8
lib:libicns$secondaryArchSuffix = 1.2.0 compat >= 1
lib:libicns$secondaryArchSuffix = $libVersionCompat
"
if [ -z "$secondaryArchSuffix" ]; then
PROVIDES="$PROVIDES
@@ -35,7 +38,7 @@ REQUIRES="
PROVIDES_devel="
libicns${secondaryArchSuffix}_devel = $portVersion compat >= 0.8
devel:libicns$secondaryArchSuffix = 1.2.0 compat >= 1
devel:libicns$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libicns$secondaryArchSuffix == $portVersion base
@@ -45,7 +48,7 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libopenjp2$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.0.4
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
@@ -60,7 +63,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -75,7 +78,7 @@ INSTALL()
rm -rf $binDir
fi
prepareInstalledDevelLibs libicns
prepareInstalledDevelLib libicns
fixPkgconfig
# devel package