summaryrefslogtreecommitdiff
path: root/repo/core/expat.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 20:32:41 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 20:32:41 +0100
commitbeb0e949f6189884cd31fdf0f95e5d35be6a2a93 (patch)
tree7edae8055d72e2b7afae4d333302f61d7090b110 /repo/core/expat.xibuild
parent0cb5ed4e60d3453c0b2ee9a153afa96c9bd3dd0c (diff)
added more core packages
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
+}