summaryrefslogtreecommitdiff
path: root/repo/system/libxml2.xibuild
blob: 5e1ce4963c286d0ec05309e163b9abab1251207d (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
}