mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
libbs2b, disable static library, use libVersionCompat (#8342)
This commit is contained in:
@@ -6,7 +6,7 @@ fatigue without essential distortions."
|
||||
HOMEPAGE="http://bs2b.sourceforge.net/"
|
||||
COPYRIGHT="2009 Boris Mikhaylov"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/bs2b/libbs2b-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f"
|
||||
PATCHES="libbs2b-$portVersion.patchset"
|
||||
@@ -14,11 +14,14 @@ PATCHES="libbs2b-$portVersion.patchset"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libbs2b$secondaryArchSuffix = $portVersion
|
||||
cmd:bs2bconvert$secondaryArchSuffix
|
||||
cmd:bs2bstream$secondaryArchSuffix
|
||||
lib:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libbs2b$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -27,7 +30,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libbs2b${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libbs2b$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libbs2b$secondaryArchSuffix == $portVersion base
|
||||
@@ -47,14 +50,14 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libbs2b$secondaryArchSuffix \
|
||||
"$libDir"/libbs2b.so.0.0.0 \
|
||||
"$libDir"/libbs2b.so.$libVersion \
|
||||
"$binDir"/bs2bconvert \
|
||||
"$binDir"/bs2bstream
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user