mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 06:32:36 +01:00
35 lines
870 B
Plaintext
35 lines
870 B
Plaintext
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=libwbxml
|
|
pkgver=0.11.6
|
|
pkgrel=0
|
|
pkgdesc="A library to encode and decode WBXML (WAP Binary XML)."
|
|
url="https://github.com/libwbxml/libwbxml"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="cmake expat-dev"
|
|
checkdepends="check-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/libwbxml/libwbxml/archive/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
|
|
|
|
build() {
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DENABLE_UNIT_TEST=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir/build"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir/build"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="a862afc0d8c997dfe3a8723b8580ca81ea28a205ca9129ef4756cc82ceca66fae51692a46f4227d4e871dd572bc2c9c8389844cd978ff06a91fb118917c06759 libwbxml-0.11.6.tar.gz"
|