mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-29 09:31:39 +02:00
31 lines
780 B
Plaintext
31 lines
780 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mxml
|
|
pkgver=3.0
|
|
pkgrel=0
|
|
pkgdesc="Small XML library that you can use to read and write XML files"
|
|
url="https://www.msweet.org/mxml/"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/michaelrsweet/mxml/archive/v${pkgver}.tar.gz"
|
|
|
|
build() {
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make testmxml
|
|
}
|
|
|
|
package() {
|
|
make BUILDROOT="$pkgdir" install
|
|
rm -f "$pkgdir"/usr/lib/*.a
|
|
}
|
|
|
|
sha512sums="3c540348022226b122ce014f183368cda6631600a11d8f4d43c99c62fba2f3ca4b23dff4122082f63915b59a46a5475d1d12d0081f9315c65f5c044ac3c751d6 mxml-3.0.tar.gz"
|