summaryrefslogtreecommitdiff
path: root/repo/core/expat.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core/expat.xibuild')
-rw-r--r--repo/core/expat.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/core/expat.xibuild b/repo/core/expat.xibuild
new file mode 100644
index 0000000..bf9c49f
--- /dev/null
+++ b/repo/core/expat.xibuild
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz
+DESC="An XML parser library"
+
+build () {
+ ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/expat-2.4.1
+ make
+ make check
+
+ make DESTDIR=$PKG_DEST install
+
+ install -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-2.4.1
+}