mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 23:30:04 +02:00
80 lines
2.0 KiB
Bash
80 lines
2.0 KiB
Bash
SUMMARY="Library for IPTC metadata manipulation"
|
|
DESCRIPTION="libiptcdata is a library, written in C, for manipulating the \
|
|
International Press Telecommunications Council (IPTC) metadata stored within \
|
|
multimedia files such as images. This metadata can include captions and \
|
|
keywords, often used by popular photo management applications.
|
|
The library provides routines for parsing, viewing, modifying, and saving \
|
|
this metadata."
|
|
HOMEPAGE="http://libiptcdata.sourceforge.net/"
|
|
COPYRIGHT="2005 David Moore"
|
|
LICENSE="GNU LGPL v2.1"
|
|
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"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="0.3.3"
|
|
libVersionCompat="$libVersion compat >= 0"
|
|
|
|
PROVIDES="
|
|
libiptcdata$secondaryArchSuffix = $portVersion
|
|
cmd:iptc$secondaryArchSuffix = $portVersion
|
|
lib:libiptcdata$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libiptcdata${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libiptcdata$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libiptcdata$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autopoint
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
defineDebugInfoPackage libiptcdata$secondaryArchSuffix \
|
|
$libDir/libiptcdata.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure --enable-shared
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# remove libtool file
|
|
rm -r $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libiptcdata
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|