aboutsummaryrefslogtreecommitdiffstats
path: root/main/exiv2/APKBUILD
blob: f3c5d60ff2cbd01a42bd27a01440c205561f6ada (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exiv2
pkgver=0.24
pkgrel=1
pkgdesc="Exif and Iptc metadata manipulation library and tools."
url="http://exiv2.org"
arch="all"
license="GPL2+"
depends=""
depends_dev="expat-dev zlib-dev"
makedepends="zlib-dev expat-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.exiv2.org/exiv2-$pkgver.tar.gz
	exiv2-0.24-CVE-2014-9449.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="b8a23dc56a98ede85c00718a97a8d6fc  exiv2-0.24.tar.gz
c0bf6f948461d47b6e76aaf646b77cb5  exiv2-0.24-CVE-2014-9449.patch"
sha256sums="f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e  exiv2-0.24.tar.gz
3f51b8c92dbc61e0058ba4ce3e5bd613dc0aed6c7f145bb3c163cd43981aaa8c  exiv2-0.24-CVE-2014-9449.patch"
sha512sums="e2d5d076c09a36d88472485c9d9d99b5a50aea1ab59b1e5c9301b1ce9fe2b2af02acae2662c9ff56b4c749a224688387ba58334d31b74f04f3d2d3d3c0e387e9  exiv2-0.24.tar.gz
e5ce775e1760508841ebcedd482e47eaaf82b3f18dfa774e579ce544d25ba990f476ed2fa351724a08c76d4e93f1278a56903eba5f2fec012831524108e7b5a4  exiv2-0.24-CVE-2014-9449.patch"