mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Merged in anna_gajdov/a-recipe-file-for-libiptcdata-gci-student (pull request #15)
Add recipe for libiptcdata - GCI
This commit is contained in:
67
media-libs/libiptcdata/libiptcdata-1.0.4.recipe
Normal file
67
media-libs/libiptcdata/libiptcdata-1.0.4.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
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"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz?download"
|
||||
CHECKSUM_MD5="af886556ecb129b694f2d365d03d95a8"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
libiptcdata = $portVersion
|
||||
cmd:iptc = $portVersion
|
||||
lib:libiptcdata = 0.3.3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libiconv
|
||||
lib:libintl
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
devel:libiconv
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:libtool
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
"
|
||||
PATCHES="libiptcdata-1.0.4.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
automake
|
||||
runConfigure ./configure --disable-gtk-doc --enable-static --enable-shared
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libiptcdata
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libiptcdata_devel = $portVersion
|
||||
devel:libiptcdata = 0.3.3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libiptcdata == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user