blob: 87509f16f4f08273fd30a6597f20c40dc23c92c7 (
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
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=exempi
pkgver=2.5.1
pkgrel=0
pkgdesc="A library to parse XMP metadata"
url="https://wiki.freedesktop.org/libopenraw/Exempi/"
arch="all"
license="BSD-3-Clause"
makedepends="expat-dev zlib-dev boost-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://libopenraw.freedesktop.org/download/exempi-$pkgver.tar.bz2"
# secfixes:
# 2.5.1-r0:
# - CVE-2018-12648
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="97f2a688e1f92e219d0b68b077608112373cf3e6cbfe4141bbb9c3d1f416926bfd568957c1d0a081b95b524cbd500da0b7bca0ce45e1e8611818f66bcb1b6518 exempi-2.5.1.tar.bz2"
|