aboutsummaryrefslogtreecommitdiffstats
path: root/main/libiptcdata
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-20 15:03:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-20 15:06:04 +0000
commit977b8d4d99ff335e52d90d06f2c466edd8f748ce (patch)
treec2920c3eb4055e27f9fc3ed7062b189b06c360eb /main/libiptcdata
parentf67ab95801a57702024c80c8658a961ef1584733 (diff)
downloadaports-977b8d4d99ff335e52d90d06f2c466edd8f748ce.tar.bz2
aports-977b8d4d99ff335e52d90d06f2c466edd8f748ce.tar.xz
main/libiptcdata: move from testing
Diffstat (limited to 'main/libiptcdata')
-rw-r--r--main/libiptcdata/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/libiptcdata/APKBUILD b/main/libiptcdata/APKBUILD
new file mode 100644
index 0000000000..b57498cb44
--- /dev/null
+++ b/main/libiptcdata/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer: Natananael Copa <ncopa@alpinelinux.org>
+pkgname=libiptcdata
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="libiptcdata is a C library for manipulating IPTC metadata within multimedia"
+url="http://libiptcdata.sourceforge.net/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
+_builddir=${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ }
+
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir/" install
+}
+
+md5sums="af886556ecb129b694f2d365d03d95a8 libiptcdata-1.0.4.tar.gz"
+sha256sums="79f63b8ce71ee45cefd34efbb66e39a22101443f4060809b8fc29c5eebdcee0e libiptcdata-1.0.4.tar.gz"
+sha512sums="8656b2febaec133d1a8783252047672bebd58ae9ceab5477c4acfa35bcc381dfda08b655a957b962878af28c69deff77d920e780c84b4debdff2f980b3de94e8 libiptcdata-1.0.4.tar.gz"