aboutsummaryrefslogtreecommitdiffstats
path: root/testing/exempi/APKBUILD
blob: d3505673e18a674f830a23cd1b75065189db9c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"