aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libwbxml/APKBUILD
blob: 22d4d1975d57ce44a3aa27bf663968598390dfe8 (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
# 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"
arch="x86 x86_64"
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"