summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-12 11:55:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-12 11:55:18 +0000
commite9390e3b93fb19924d79ded92a9b3dec403b17b3 (patch)
tree8e767ca510bd4b3bba91b17d0b050e4b34704c66
parent765bc48e81d0879543bcf63c4def2ec40236aab3 (diff)
downloadaports-e9390e3b93fb19924d79ded92a9b3dec403b17b3.tar.bz2
aports-e9390e3b93fb19924d79ded92a9b3dec403b17b3.tar.xz
testing/libgexiv2: new aport
a GObject-based wrapper around the Exiv2 library http://trac.yorba.org/wiki/gexiv2
-rw-r--r--testing/libgexiv2/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libgexiv2/APKBUILD b/testing/libgexiv2/APKBUILD
new file mode 100644
index 000000000..361245664
--- /dev/null
+++ b/testing/libgexiv2/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libgexiv2
+pkgver=0.2.2
+pkgrel=0
+pkgdesc="a GObject-based wrapper around the Exiv2 library"
+url="http://trac.yorba.org/wiki/gexiv2"
+arch="all"
+license="GPL"
+depends=
+depends_dev="glib-dev exiv2-dev"
+makedepends="exiv2-dev glib-dev libtool m4"
+install=
+subpackages="$pkgname-dev"
+source="http://yorba.org/download/gexiv2/${pkgver%.*}/libgexiv2-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="b914a6d4a78865ccfd2c91464c44431d libgexiv2-0.2.2.tar.bz2"