diff options
Diffstat (limited to 'source/n/whois/whois.SlackBuild')
-rwxr-xr-x | source/n/whois/whois.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/n/whois/whois.SlackBuild b/source/n/whois/whois.SlackBuild index 7a98ac31..b2c02cbe 100755 --- a/source/n/whois/whois.SlackBuild +++ b/source/n/whois/whois.SlackBuild @@ -27,7 +27,7 @@ BUILD=${BUILD:-1} # Automatically determine architecture for build & packaging: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac @@ -54,7 +54,13 @@ make HAVE_LIBIDN=y || exit make install install-pos BASEDIR=$PKG || exit 1 mv $PKG/usr/share/man $PKG/usr -gzip -9 $PKG/usr/man/man1/*.1 + +# Compress manual pages: +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 # Remove mkpasswd stuff: find $PKG -iname "mkpasswd*" -exec rm -f {} \; |