diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/xmlstarlet/xmlstarlet.xibuild | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/xmlstarlet/xmlstarlet.xibuild')
-rw-r--r-- | repo/xmlstarlet/xmlstarlet.xibuild | 25 |
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 +} + |