summaryrefslogtreecommitdiff
path: root/user/exiv2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 05:34:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 05:34:37 -0500
commitfcb5694bde6d52105ba6e3164014caaf08029d13 (patch)
tree3a4a7cb6c2d99a8fa3250c0615a0b34f5f195b90 /user/exiv2/APKBUILD
parentb8886692d631efcf736fca2787c7b69ce8372923 (diff)
downloadpackages-fcb5694bde6d52105ba6e3164014caaf08029d13.tar.gz
packages-fcb5694bde6d52105ba6e3164014caaf08029d13.tar.bz2
packages-fcb5694bde6d52105ba6e3164014caaf08029d13.tar.xz
packages-fcb5694bde6d52105ba6e3164014caaf08029d13.zip
user/exiv2: pull in, take, fix up
Diffstat (limited to 'user/exiv2/APKBUILD')
-rw-r--r--user/exiv2/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/exiv2/APKBUILD b/user/exiv2/APKBUILD
new file mode 100644
index 000000000..d9ced3064
--- /dev/null
+++ b/user/exiv2/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=exiv2
+pkgver=0.26
+pkgrel=1
+pkgdesc="Exif, IPTC and XMP metadata library and tools"
+url="http://www.exiv2.org"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+"
+depends=""
+depends_dev="expat-dev zlib-dev"
+makedepends="$depends_dev bash"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.exiv2.org/builds/exiv2-$pkgver-trunk.tar.gz
+ 0000-pthread-init-fix.patch
+ 0001-Amend-fix-for-9-to-apply-to-other-Unix-systems.patch
+ "
+builddir="$srcdir"/exiv2-trunk
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d1e9cab886e279b045768dd9ec781f07d2d36d573119403d0b76dc571442173aae6972f86ec55c3ea53fb3ee9ca3571eb8fd63a2a6643a970852813e88634a86 exiv2-0.26-trunk.tar.gz
+9721d359708c385be7c86a8f8a63de43b05b2578a29b4339861e82873aa81a98a7ee7252847b6c55529341187d40f552c488589b416fd9d1e27418925929c018 0000-pthread-init-fix.patch
+485bd340169f69a3ce356e59e9138250cc14592f4477bb73827c799fe465535954469634fc58a1856f690f0e0b4171cba6fdd3391d43c0efc5e89652b93eb3ce 0001-Amend-fix-for-9-to-apply-to-other-Unix-systems.patch"