diff options
-rwxr-xr-x | yasm/build/yasm.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/yasm/build/yasm.SlackBuild b/yasm/build/yasm.SlackBuild index 766e2311..d63167bf 100755 --- a/yasm/build/yasm.SlackBuild +++ b/yasm/build/yasm.SlackBuild @@ -32,6 +32,8 @@ # Changelog: # 0.7.1-1: 16/Jun/2008 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 0.7.2-1: 08/dec/2008 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh yasm.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -39,10 +41,8 @@ # # ----------------------------------------------------------------------------- -# Set initial variables: - PRGNAM=yasm -VERSION=${VERSION:-0.7.1} +VERSION=${VERSION:-0.7.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-alien} @@ -196,10 +196,8 @@ if [ -d $PKG/usr/man ]; then fi # Strip binaries: -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cd - +find $PKG | xargs file | grep -e "executable" -e "shared object" \ + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # Add a package description: mkdir -p $PKG/install |