diff options
Diffstat (limited to 'system/chmsee/chmsee.SlackBuild')
-rw-r--r-- | system/chmsee/chmsee.SlackBuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/system/chmsee/chmsee.SlackBuild b/system/chmsee/chmsee.SlackBuild index 2bfe2b055d..3078e2874b 100644 --- a/system/chmsee/chmsee.SlackBuild +++ b/system/chmsee/chmsee.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for chmsee -# Copyright 2007 Robby Workman - http://rlworkman.net +# Copyright 2007-2008 Robby Workman - http://rlworkman.net # All rights reserved. # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=chmsee -VERSION=1.0.0 +VERSION=1.0.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -46,7 +47,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -60,14 +60,16 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-static \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --with-gecko=seamonkey \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -gzip -9 $PKG/usr/man/man?/*.? +( cd $PKG/usr/man || exit 1 + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -75,7 +77,8 @@ gzip -9 $PKG/usr/man/man?/*.? ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS* README* TODO \ +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS* README* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install |