aboutsummaryrefslogtreecommitdiffstats
path: root/main/exiv2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:23 +0000
commit46a97b0c980d8bd2aa781295d4882db25a07722f (patch)
treec91f38d1946564a7f03d3d849271b8415362b129 /main/exiv2/APKBUILD
parent947bb1f2152ac3d9638f90e5efb6c3c4b05b64d4 (diff)
downloadaports-46a97b0c980d8bd2aa781295d4882db25a07722f.tar.bz2
aports-46a97b0c980d8bd2aa781295d4882db25a07722f.tar.xz
main/exiv2: moved from testing
Diffstat (limited to 'main/exiv2/APKBUILD')
-rw-r--r--main/exiv2/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/exiv2/APKBUILD b/main/exiv2/APKBUILD
new file mode 100644
index 0000000000..82638d7e95
--- /dev/null
+++ b/main/exiv2/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=exiv2
+pkgver=0.21.1
+pkgrel=0
+pkgdesc="Exif and Iptc metadata manipulation library and tools."
+url="http://exiv2.org"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev="expat-dev zlib-dev"
+makedepends="zlib-dev expat-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.exiv2.org/exiv2-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="5c99bbcaa998f6b200b92f2bf0ac4f9e exiv2-0.21.1.tar.gz"