summaryrefslogtreecommitdiff
path: root/repo/mxml/mxml.xibuild
blob: b909ec82f2764122dbf0dc0e18807d5a35889334 (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
#!/bin/sh

NAME="mxml"
DESC="Small XML library that you can use to read and write XML files"

MAKEDEPS=""

PKG_VER=3.3
SOURCE="https://github.com/michaelrsweet/mxml/archive/v$PKG_VER.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make testmxml
}

package() {
	make BUILDROOT="$PKG_DEST" install
	rm -f "$PKG_DEST"/usr/lib/*.a
}