summaryrefslogtreecommitdiffstats
path: root/main/libgexiv2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 09:57:24 +0000
commitdf565c1039100c7e107d8c2c9f964c0812e05f7d (patch)
treee9e5e7c2ac28a883ac8732ea5852260557d9372c /main/libgexiv2
parent46a97b0c980d8bd2aa781295d4882db25a07722f (diff)
downloadaports-df565c1039100c7e107d8c2c9f964c0812e05f7d.tar.bz2
aports-df565c1039100c7e107d8c2c9f964c0812e05f7d.tar.xz
main/libgexiv2: moved from testing
Diffstat (limited to 'main/libgexiv2')
-rw-r--r--main/libgexiv2/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libgexiv2/APKBUILD b/main/libgexiv2/APKBUILD
new file mode 100644
index 000000000..5c4a7a28e
--- /dev/null
+++ b/main/libgexiv2/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libgexiv2
+pkgver=0.3.0
+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="b6b2b2ae3c7d57a85d8c346b418ff98c libgexiv2-0.3.0.tar.bz2"