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

NAME="libnxml"
DESC="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams"

MAKEDEPS="curl"

PKG_VER=0.18.3
SOURCE="https://github.com/bakulf/libnxml/archive/refs/tags/$PKG_VER.tar.gz"

prepare () {
    # this file is necessary
    touch NEWS
    autoreconf -vif
}

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}