mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
libiptcdata, don't enable static library, enable secondary arch on 32bit (#8365)
This commit is contained in:
@@ -8,57 +8,58 @@ this metadata."
|
||||
HOMEPAGE="http://libiptcdata.sourceforge.net/"
|
||||
COPYRIGHT="2005 David Moore"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-$portVersion.tar.gz?download"
|
||||
CHECKSUM_SHA256="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e"
|
||||
SOURCE_FILENAME="libiptcdata-$portVersion.tar.gz"
|
||||
PATCHES="libiptcdata-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="all ?x86"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.3.3"
|
||||
libVersionCompat="$libVersion compat >= 0"
|
||||
|
||||
PROVIDES="
|
||||
libiptcdata = $portVersion
|
||||
cmd:iptc = $portVersion
|
||||
lib:libiptcdata = $libVersionCompat
|
||||
libiptcdata$secondaryArchSuffix = $portVersion
|
||||
cmd:iptc$secondaryArchSuffix = $portVersion
|
||||
lib:libiptcdata$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libiconv
|
||||
lib:libintl
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libiptcdata_devel = $portVersion
|
||||
devel:libiptcdata = $libVersion
|
||||
libiptcdata${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libiptcdata$secondaryArchSuffix = $libVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libiptcdata == $portVersion base
|
||||
libiptcdata$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libiconv
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autopoint
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libiptcdata \
|
||||
defineDebugInfoPackage libiptcdata$secondaryArchSuffix \
|
||||
$libDir/libiptcdata.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --enable-static --enable-shared
|
||||
runConfigure ./configure --enable-shared
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user