diff options
author | Kent Fritz <fritz.kent@gmail.com> | 2012-06-25 21:30:35 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-25 21:30:35 -0400 |
commit | 4b090475ed210b5dbe5d8588c302ed108c7b015c (patch) | |
tree | 0e2a2bedd9d39f6f90cf85d168063979389a7d03 /libraries/mxml/mxml.SlackBuild | |
parent | 872ea0beded87e19c6c1ea965edb4194786c519b (diff) | |
download | slackbuilds-4b090475ed210b5dbe5d8588c302ed108c7b015c.tar.gz |
libraries/mxml: Updated for version 2.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/mxml/mxml.SlackBuild')
-rw-r--r-- | libraries/mxml/mxml.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/mxml/mxml.SlackBuild b/libraries/mxml/mxml.SlackBuild index 67a4ae9e57..7288cf6b52 100644 --- a/libraries/mxml/mxml.SlackBuild +++ b/libraries/mxml/mxml.SlackBuild @@ -3,18 +3,17 @@ # Slackware build script for mxml # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +# Updated by Kent Fritz <fritz.kent@gmail.com> PRGNAM=mxml -VERSION=${VERSION:-2.6} +VERSION=${VERSION:-2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -71,13 +70,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DSTROOT=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |