aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libnxml/APKBUILD
blob: 0240e8114ad7aff779d27f6ddac75126c65c8830 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libnxml
pkgver=0.18.3
pkgrel=0
pkgdesc="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams"
url="http://www.autistici.org/bakunin/libnxml"
arch="all"
license="LGPL"
makedepends="curl-dev"
subpackages="$pkgname-dev"
source="http://www.autistici.org/bakunin/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	update_config_guess
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="fc420a4b773eca68608ac1d509930a0528c3a41b53fc7cc340c09fd53f92a88afb4091e810d97d59e73a8beeaaeed52dd3c880273ef512a5305800b3ef46717a  libnxml-0.18.3.tar.gz"