diff options
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 67a4ae9e576f3..7288cf6b52a01 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 |