summaryrefslogtreecommitdiffstats
path: root/main/exiv2/APKBUILD
blob: 32e24dc547c0a2b4358058d616daa07f6a007a73 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exiv2
pkgver=0.21.1
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"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="5c99bbcaa998f6b200b92f2bf0ac4f9e  exiv2-0.21.1.tar.gz"