aboutsummaryrefslogtreecommitdiffstats
path: root/main/libart-lgpl/APKBUILD
blob: 26611efbd04c7f7b1c4405b3f65e8306032f2d77 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libart-lgpl
pkgver=2.3.21
pkgrel=5
pkgdesc="A library for high-performance 2D graphics"
url="http://www.levien.com/libart/"
arch="all"
license="LGPL"
depends=
makedepends=
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-$pkgver.tar.bz2
	"

_builddir="$srcdir"/libart_lgpl-$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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="08559ff3c67fd95d57b0c5e91a6b4302  libart_lgpl-2.3.21.tar.bz2"