aboutsummaryrefslogtreecommitdiff
path: root/development/xmlstarlet/xmlstarlet.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@gmail.com>2014-10-10 21:32:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-11 00:14:50 +0700
commita6bda2934c8fd905081b41dc0b6e89fcb7ea5791 (patch)
tree34aa18c2ea8f465f973b75edede42f46c0e24666 /development/xmlstarlet/xmlstarlet.SlackBuild
parentdaf5e7ba553029ad19745dd1e704e226aaabf340 (diff)
development/xmlstarlet: Updated for version 1.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/xmlstarlet/xmlstarlet.SlackBuild')
-rw-r--r--development/xmlstarlet/xmlstarlet.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/xmlstarlet/xmlstarlet.SlackBuild b/development/xmlstarlet/xmlstarlet.SlackBuild
index 93c6347a975a..4cd7b548a9a1 100644
--- a/development/xmlstarlet/xmlstarlet.SlackBuild
+++ b/development/xmlstarlet/xmlstarlet.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmlstarlet
-VERSION=1.1.0
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,6 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# it is only logical that the command provided matches the package name
+ln -sf xml $PKG/usr/bin/xmlstarlet
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true