mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
90 lines
2.0 KiB
Bash
90 lines
2.0 KiB
Bash
SUMMARY="A C++ library and command line utility to manage image metadata"
|
|
DESCRIPTION="Exiv2 provides fast and easy read and write access to the Exif, \
|
|
IPTC and XMP metadata of images in various formats. Exiv2 is available as \
|
|
free software and with a commercial license, and is used in many projects."
|
|
HOMEPAGE="http://www.exiv2.org/"
|
|
COPYRIGHT="2004-2013 Andreas Huggel
|
|
2009 Brad Schick"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.exiv2.org/exiv2-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c80bfc778a15fdb06f71265db2c3d49d8493c382e516cb99b8c9f9cbde36efa4"
|
|
PATCHES="exiv2-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
exiv2$secondaryArchSuffix = $portVersion
|
|
cmd:exiv2$secondaryArchSuffix = $portVersion
|
|
lib:libexiv2$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libexpat$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
exiv2${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libexiv2${secondaryArchSuffix} = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
exiv2$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libexpat$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:awk # required by configure
|
|
cmd:find # required by libtool
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:md5sum
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export CXXFLAGS="-D_BSD_SOURCE"
|
|
export LDFLAGS="-lbsd -lnetwork"
|
|
cd config
|
|
libtoolize -fci
|
|
autoconf
|
|
cp configure ..
|
|
cd ..
|
|
|
|
runConfigure ./configure \
|
|
--enable-video \
|
|
--with-curl
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libexiv2.la
|
|
|
|
prepareInstalledDevelLibs libexiv2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|