summaryrefslogtreecommitdiff
path: root/repo/system/libxml2/libxml2.xibuild
blob: 9e2fd8acaa56581ad2f7454dff2e3e088e64f2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

MAKEDEPS="python make"
DEPS="zlib readline ncurses xz icu"

PKG_VER=2.9.12
SOURCE=http://xmlsoft.org/sources/libxml2-$PKG_VER.tar.gz
DESC="XML parsing library"

build () {
    ./configure --prefix=/usr    \
            --disable-static \
            --with-history   \
            --with-python=/usr/bin/python3 &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}