diff options
Diffstat (limited to 'system/gdisk/gdisk.SlackBuild')
-rw-r--r-- | system/gdisk/gdisk.SlackBuild | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/system/gdisk/gdisk.SlackBuild b/system/gdisk/gdisk.SlackBuild index 09b789e09e..bcb1890d38 100644 --- a/system/gdisk/gdisk.SlackBuild +++ b/system/gdisk/gdisk.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for gdisk -# Written by Steven Pledger <slacker4life@rocketmail.com> +# Written by Steven Pledger <spledger91@yahoo.com> PRGNAM=gdisk -VERSION=${VERSION:-0.6.9} +VERSION=${VERSION:-0.6.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,23 +51,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -make +make \ + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" mkdir -p $PKG/usr/sbin -cp -a \ - gdisk sgdisk \ - $PKG/usr/sbin +install -m 0755 gdisk $PKG/usr/sbin +install -m 0755 sgdisk $PKG/usr/sbin +strip --strip-unneeded $PKG/usr/sbin/* mkdir -p $PKG/usr/man/man8 -cp -a \ - gdisk.8 sgdisk.8 \ - $PKG/usr/man/man8 - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - +cp -a gdisk.8 sgdisk.8 $PKG/usr/man/man8 find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |