summaryrefslogtreecommitdiffstats
path: root/main/libcroco/APKBUILD
blob: 693a74b52847311d3f92a4fbe26942f995a4cd31 (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=libcroco
pkgver=0.6.3
pkgrel=0
pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
url="http://www.gnome.org"
arch="all"
license="LGPL"
subpackages="$pkgname-dev"
depends=
makedepends="glib-dev libxml2-dev pkgconfig"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.bz2"

depends_dev="glib-dev libxml2-dev pkgconfig"

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="e1e93eeff4367c896f3959af34ba20eb  libcroco-0.6.3.tar.bz2"