blob: abe6d6ca5189c4249235ed3f0c177e7464891359 (
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
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mxml
pkgver=2.10
pkgrel=0
pkgdesc="small XML library that you can use to read and write XML files"
url="http://www.msweet.org/projects.php?Z3"
arch="all"
license="LGPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/michaelrsweet/mxml/releases/download/release-$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/mxml-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make BUILDROOT="$pkgdir" install || return 1
}
md5sums="8804c961a24500a95690ef287d150abe mxml-2.10.tar.gz"
sha256sums="267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891 mxml-2.10.tar.gz"
sha512sums="c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c mxml-2.10.tar.gz"
|