aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcroco/APKBUILD
blob: deef394aeba273b2d6e5e74d47602612ffa13394 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcroco
pkgver=0.6.9
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"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.xz"

depends_dev="glib-dev libxml2-dev pkgconfig"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="f1863da805c9206563da06f56da1ea55  libcroco-0.6.9.tar.xz"
sha256sums="38b9a6aed1813e55b3ca07a68d1af845ad4d1f984602e9272fe692930c0be0ae  libcroco-0.6.9.tar.xz"
sha512sums="2bdb16a9004ff7304bc3cf91495925d1502c165b54dc1121d2f0fc9b627ec9c5b81e78b48e3f092855c3accc3295e5a3870eb6225ddb1b1fcd037004af78583b  libcroco-0.6.9.tar.xz"