summaryrefslogtreecommitdiff
path: root/user/libexif/APKBUILD
blob: 802ed838c3259cf06f23bf21c3a586bff6869ef5 (plain) (blame)
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
45
46
47
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libexif
pkgver=0.6.24
_pkgver=$(printf '%s' "$pkgver" | tr . _)
pkgrel=0
pkgdesc="Library to parse EXIF metadata"
url="https://libexif.github.io/"
arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=""
makedepends=""
source="https://github.com/libexif/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"

# secfixes:
#   0.6.21-r3:
#     - CVE-2017-7544
#     - CVE-2018-20030
#   0.6.21-r4:
#     - CVE-2016-6328
#     - CVE-2019-9278
#   0.6.22-r0:
#     - CVE-2020-0093
#     - CVE-2020-0182
#     - CVE-2020-0198
#     - CVE-2020-12767
#     - CVE-2020-13112
#     - CVE-2020-13113
#     - CVE-2020-13114

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="35c9e7af2c3d44a638dc6bbe8f96962d41c0f3fe4a257494f7a73baefab9aba507477175289ccf9002a66cc16ca53d5d1f44d6fef9e014b27f687ecdc58f5111  libexif-0.6.24.tar.bz2"