Files
haikuports/media-gfx/exiv2/exiv2-0.24.recipe
Humdinger 005af22c6e De-Linting recipes.
*	bdh-calc
	License is Zlib.
	Improved SUMMARY.
	Minor cosmetics.

*	daa2iso
	Removed "." from SUMMARY.
	Minor cosmetics.

*	dash
	Removed "." from SUMMARY.
	Moved some things into BUILD_PREREQUIRES.

*	ddrescue
	Shortened SUMMARY.
	Added cmd:lzip to BUILD_PREREQUIRES.
	Minor cosmetics.

*	diffutils
	Removed "." from SUMMARY.
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	discount
	Shortened SUMMARY.
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	doctranslator
	Shortened SUMMARY.
	Corrected checksum.
	Added SECONDARY_ARCHITECTURES.

*	dos2unix
	Removed "." from SUMMARY.
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	dtc
	Improved DESCRIPTION
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	dulwich
	Removed "." from SUMMARY.
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	ed
	Improved SUMMARY.
	Took DESCRIPTION from http://www.gnu.org/software/ed/
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.

*	edgar
	Removed "." from SUMMARY.
	Minor cosmetics.

*	eepp
	Shortened SUMMARY.
	Minor cosmetics.

*	enca
	Removed "." from SUMMARY.
	Minor cosmetics.

*	enet
	Removed "." from SUMMARY.
	Minor cosmetics.

*	exiv2
	Removed "." and improved SUMMARY.
	Moved haiku_devel into BUILD_REQUIRES.
	Minor cosmetics.
2015-07-19 17:30:01 +02:00

79 lines
1.8 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/"
SOURCE_URI="http://www.exiv2.org/exiv2-0.24.tar.gz"
CHECKSUM_SHA256="f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="
2004-2013 Andreas Huggel <ahuggel@gmx.net>
2009 Brad Schick <schickb@gmail.com>
"
ARCHITECTURES="x86"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="x86_gcc2 $ARCHITECTURES"
else
ARCHITECTURES="!x86_gcc2 $ARCHITECTURES"
fi
SECONDARY_ARCHITECTURES="x86"
PATCHES="exiv2-0.24.patch"
PROVIDES="
exiv2$secondaryArchSuffix = $portVersion
cmd:exiv2$secondaryArchSuffix = $portVersion
lib:libexiv2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexpat$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:autoconf
cmd:make
cmd:awk # required by configure
cmd:find # required by libtool
"
BUILD()
{
cd config
autoconf
cp configure ..
cd ..
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libexiv2
fixPkgconfig
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
exiv2${secondaryArchSuffix}_devel = $portVersion
devel:libexiv2${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
exiv2$secondaryArchSuffix == $portVersion base
"