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

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
}