mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libiptcdata: fix build for x86_64, add defineDebugInfoPackage (#1928)
This commit is contained in:
@@ -8,18 +8,21 @@ this metadata."
|
|||||||
HOMEPAGE="http://libiptcdata.sourceforge.net/"
|
HOMEPAGE="http://libiptcdata.sourceforge.net/"
|
||||||
COPYRIGHT="2005 David Moore"
|
COPYRIGHT="2005 David Moore"
|
||||||
LICENSE="GNU LGPL v2.1"
|
LICENSE="GNU LGPL v2.1"
|
||||||
REVISION="2"
|
REVISION="3"
|
||||||
SOURCE_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz?download"
|
SOURCE_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-$portVersion.tar.gz?download"
|
||||||
CHECKSUM_SHA256="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e"
|
CHECKSUM_SHA256="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e"
|
||||||
SOURCE_FILENAME="libiptcdata-1.0.4.tar.gz"
|
SOURCE_FILENAME="libiptcdata-$portVersion.tar.gz"
|
||||||
PATCHES="libiptcdata-1.0.4.patch"
|
PATCHES="libiptcdata-$portVersion.patch"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||||
|
|
||||||
|
libVersion=0.3.3
|
||||||
|
libVersionCompat="$libVersion compat >= 0"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libiptcdata = $portVersion
|
libiptcdata = $portVersion
|
||||||
cmd:iptc = $portVersion
|
cmd:iptc = $portVersion
|
||||||
lib:libiptcdata = 0.3.3
|
lib:libiptcdata = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku
|
haiku
|
||||||
@@ -29,7 +32,7 @@ REQUIRES="
|
|||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
libiptcdata_devel = $portVersion
|
libiptcdata_devel = $portVersion
|
||||||
devel:libiptcdata = 0.3.3
|
devel:libiptcdata = $libVersion
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
libiptcdata == $portVersion base
|
libiptcdata == $portVersion base
|
||||||
@@ -40,22 +43,22 @@ BUILD_REQUIRES="
|
|||||||
devel:libiconv
|
devel:libiconv
|
||||||
"
|
"
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:autopoint
|
||||||
cmd:gcc
|
cmd:gcc
|
||||||
|
cmd:libtoolize
|
||||||
cmd:ld
|
cmd:ld
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:libtool
|
|
||||||
cmd:autoconf
|
|
||||||
cmd:aclocal_1.13
|
|
||||||
cmd:automake_1.13
|
|
||||||
"
|
"
|
||||||
|
|
||||||
|
defineDebugInfoPackage libiptcdata \
|
||||||
|
$libDir/libiptcdata.so.$libVersion
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
libtoolize --force --copy --install
|
autoreconf -vfi
|
||||||
aclocal-1.13 -I m4
|
runConfigure ./configure --enable-static --enable-shared
|
||||||
autoconf
|
|
||||||
automake-1.13
|
|
||||||
runConfigure ./configure --disable-gtk-doc --enable-static --enable-shared
|
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,7 +66,10 @@ INSTALL()
|
|||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
prepareInstalledDevelLibs libiptcdata
|
# remove libtool file
|
||||||
|
rm -r $libDir/*.la
|
||||||
|
|
||||||
|
prepareInstalledDevelLib libiptcdata
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
# devel package
|
# devel package
|
||||||
|
|||||||
Reference in New Issue
Block a user