blob: f2bdb902661cbd024cbcada2bb2d1eb9462e1ec6 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mxml
pkgver=3.1
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="8f8923b394093db5c471c52c17185916bc3c91f66c97de66919bfef2a09f271879a52f285e5fc4ded03484a3f83ba8fdb588d985b06e0c25ee001f1a80ffa586 mxml-3.1.tar.gz"
|