mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-06 14:22:41 +02:00
35 lines
963 B
Plaintext
35 lines
963 B
Plaintext
# Contributor: André Klitzing <aklitzing@gmail.com>
|
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
|
pkgname=tinyxml2
|
|
pkgver=9.0.0
|
|
pkgrel=2
|
|
pkgdesc="Simple, small and efficient C++ XML parser"
|
|
url="https://github.com/leethomason/tinyxml2"
|
|
arch="all"
|
|
license="Zlib"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/leethomason/tinyxml2/archive/$pkgver.tar.gz
|
|
no-lfs64.patch
|
|
"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dtests=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
9c5ce8131984690df302ca3e32314573b137180ed522c92fd631692979c942372a28f697fdb3d5e56bcf2d3dc596262b724d088153f3e1d721c9536f2a883367 tinyxml2-9.0.0.tar.gz
|
|
a7a14fd31e414122e38cf2680f63d132ea06d9e8c9676bf87def2ac2a5082dc5bd769c1e1a62c1172eac57cc7bdc049c9d73dc3b05c79401d2309fed8972a049 no-lfs64.patch
|
|
"
|