libidl, use libVersionCompat, disable static library (#8154)

This commit is contained in:
Schrijvers Luc
2023-03-29 08:55:13 +02:00
committed by GitHub
parent 4a113dd542
commit b0ff9f963a

View File

@@ -7,7 +7,7 @@ the functionality was designed to be as reusable and portable as possible."
HOMEPAGE="https://github.com/GNOME/libIDL/"
COPYRIGHT="1998-1999 Andrew T. Veliath"
LICENSE="GNU LGPL v2"
REVISION="5"
REVISION="6"
SOURCE_URI="http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-$portVersion.tar.gz"
CHECKSUM_SHA256="bca99570f1ab453e11ae627b209561019cde5aaa98f71f43cc6da048d3bc7e72"
SOURCE_DIR="libIDL-$portVersion"
@@ -15,9 +15,12 @@ SOURCE_DIR="libIDL-$portVersion"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
libVersion="0.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libidl$secondaryArchSuffix = $portVersion
lib:libIDL_2$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libIDL_2$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -29,7 +32,7 @@ REQUIRES="
PROVIDES_devel="
libidl${secondaryArchSuffix}_devel = $portVersion
cmd:libIDL_config_2$secondaryArchSuffix = $portVersion
devel:libIDL_2$secondaryArchSuffix = 0.0.0 compat >= 0
devel:libIDL_2$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libidl$secondaryArchSuffix == $portVersion
@@ -56,7 +59,7 @@ defineDebugInfoPackage libIDL$secondaryArchSuffix \
BUILD()
{
autoreconf -vfi
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}