mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
faac, disable static library, cleanup (#8269)
This commit is contained in:
@@ -4,7 +4,7 @@ HOMEPAGE="https://sourceforge.net/projects/faac/"
|
||||
COPYRIGHT="2003 Krzysztof Nikiel"
|
||||
LICENSE="FAAC
|
||||
GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/knik0/faac/archive/${portVersion/./_}.tar.gz"
|
||||
CHECKSUM_SHA256="adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2"
|
||||
SOURCE_DIR="faac-${portVersion/./_}"
|
||||
@@ -12,10 +12,20 @@ SOURCE_DIR="faac-${portVersion/./_}"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
faac${secondaryArchSuffix} = $portVersion
|
||||
cmd:faac$secondaryArchSuffix
|
||||
lib:libfaac$secondaryArchSuffix
|
||||
cmd:faac$commandSuffix
|
||||
lib:libfaac$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -23,7 +33,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
faac${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfaac$secondaryArchSuffix = $portVersion
|
||||
devel:libfaac$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
faac$secondaryArchSuffix == $portVersion base
|
||||
@@ -37,7 +47,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:libtool$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
@@ -51,7 +61,9 @@ PATCH()
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -61,8 +73,7 @@ INSTALL()
|
||||
|
||||
rm $libDir/libfaac*.la
|
||||
|
||||
prepareInstalledDevelLibs libfaac
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLib libfaac
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
Reference in New Issue
Block a user