aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libwbxml/APKBUILD
blob: dce1f530a87631fd0adf6c05eb85bf34e8066ff3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwbxml
pkgver=0.10.8
pkgrel=0
pkgdesc="libwbxml is a library to encode and decode WAP Binary XML"
url="https://libwbxml.opensync.org"
license="LGPL"
depends=
makedepends="cmake expat-dev"
depends_dev="libxml2-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/libwbxml/libwbxml-$pkgver.tar.bz2"

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

prepare() {
	mkdir -p "$_builddir"
}

build() {
	cd "$_builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr "$_srcdir"
	make
}

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

md5sums="7b51c425fc2ff9f502cd9b1e291b1955  libwbxml-0.10.8.tar.bz2"