summaryrefslogtreecommitdiff
path: root/repo/system/libxml2/libxml2.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libxml2/libxml2.xibuild')
-rw-r--r--repo/system/libxml2/libxml2.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/libxml2/libxml2.xibuild b/repo/system/libxml2/libxml2.xibuild
new file mode 100644
index 0000000..9e2fd8a
--- /dev/null
+++ b/repo/system/libxml2/libxml2.xibuild
@@ -0,0 +1,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
+}