colm, fix recipe, disable static library (that doesn't conflict when --disable-static isn't used? (#8207)

This commit is contained in:
Schrijvers Luc
2023-04-01 07:14:26 +02:00
committed by GitHub
parent 9649011e5f
commit b0ba519bdb

View File

@@ -5,7 +5,7 @@ is in the family of program transformation languages."
HOMEPAGE="https://www.colm.net/open-source/colm/"
COPYRIGHT="2006-2016 Adrian Thurston"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.colm.net/files/colm/colm-$portVersion.tar.gz"
CHECKSUM_SHA256="33e624677176958eaad76ebe6c391a68a0b4728fec8cc039efa1316f525f408c"
@@ -23,6 +23,7 @@ PROVIDES="
colm$secondaryArchSuffix = $portVersion
cmd:colm$commandSuffix
lib:libcolm_$portVersion$secondaryArchSuffix = $portVersion
lib:libcolm$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -30,6 +31,7 @@ REQUIRES="
PROVIDES_devel="
colm${secondaryArchSuffix}_devel = $portVersion
devel:libcolm_$portVersion$secondaryArchSuffix = $portVersion
devel:libcolm$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
@@ -60,7 +62,8 @@ BUILD()
{
autoreconf -i
runConfigure --omit-dirs "binDir" ./configure \
--bindir=$commandBinDir
--bindir=$commandBinDir \
--disable-static
make $jobArgs
}
@@ -70,7 +73,9 @@ INSTALL()
rm $libDir/libcolm.la
prepareInstalledDevelLib libcolm
prepareInstalledDevelLibs \
libcolm-$portVersion \
libcolm
fixPkgconfig
packageEntries devel $developDir