blob: 716e4685492f64932561c47c1ca10785ef819d3c (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgexiv2
pkgver=0.4.1
pkgrel=0
pkgdesc="a GObject-based wrapper around the Exiv2 library"
url="http://trac.yorba.org/wiki/gexiv2"
arch="all"
license="GPL"
depends=
depends_dev="glib-dev exiv2-dev"
makedepends="exiv2-dev glib-dev libtool m4"
install=
subpackages="$pkgname-dev"
source="http://yorba.org/download/gexiv2/${pkgver%.*}/libgexiv2-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="055effe708652f0c7440a3def06047da libgexiv2-0.4.1.tar.bz2"
|