summaryrefslogtreecommitdiff
path: root/repo/xmlstarlet
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/xmlstarlet
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/xmlstarlet')
-rw-r--r--repo/xmlstarlet/xmlstarlet.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/xmlstarlet/xmlstarlet.xibuild b/repo/xmlstarlet/xmlstarlet.xibuild
new file mode 100644
index 0000000..3a979ae
--- /dev/null
+++ b/repo/xmlstarlet/xmlstarlet.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="xmlstarlet"
+DESC="A set of tools to transform, query, validate, and edit XML documents"
+
+MAKEDEPS="ghostscript libxml2 libxslt"
+
+PKG_VER=1.6.1
+SOURCE="https://sourceforge.net/projects/xmlstar/files/xmlstarlet/$PKG_VER/xmlstarlet-$PKG_VER.tar.gz/download"
+
+build() {
+ LIBXSLT_PREFIX=/usr \
+ LIBXML_PREFIX=/usr \
+ ./configure \
+ --prefix=/usr \
+ --enable-build-docs
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ ln -s xml $PKG_DEST/usr/bin/xmlstarlet
+ install -Dm0644 Copyright $PKG_DEST/usr/share/licenses/xmlstarlet/COPYING
+}
+