aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-20 16:56:40 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-01-20 16:56:40 +0000
commitef640502ffe4c4e036f4e8a6bf1f23164ff14900 (patch)
treec871a8d41666e45eb56d36077a4d12a02b5dc921
parentcf83316cedb3c730799cf2ec52ae38822838f34b (diff)
downloadaports-ef640502ffe4c4e036f4e8a6bf1f23164ff14900.tar.gz
aports-ef640502ffe4c4e036f4e8a6bf1f23164ff14900.tar.bz2
aports-ef640502ffe4c4e036f4e8a6bf1f23164ff14900.tar.xz
testing/exempi: new aport
-rw-r--r--testing/exempi/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/exempi/APKBUILD b/testing/exempi/APKBUILD
new file mode 100644
index 0000000000..d3505673e1
--- /dev/null
+++ b/testing/exempi/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer:
+pkgname=exempi
+pkgver=2.5.0
+pkgrel=0
+pkgdesc="A library to parse XMP metadata"
+url="https://libopenraw.freedesktop.org/wiki/Exempi/"
+arch="all"
+license="BSD"
+depends=""
+makedepends="expat-dev zlib-dev boost-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+source="https://libopenraw.freedesktop.org/download/exempi-$pkgver.tar.bz2"
+builddir="$srcdir/exempi-$pkgver"
+
+prepare() {
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1d042ffe3c3daadf937c4938e7892d52c4835275065e159f7991ddc9f533424fb6cd7d607600c3381440020db9dfa06af5ae15168d7a8012358fa5c8ac453bba exempi-2.5.0.tar.bz2"