summaryrefslogtreecommitdiff
path: root/system/chmsee/chmsee.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:26:31 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:26:31 +0200
commitf69a75a9c744f876f38399333d0b1ea527cbc12b (patch)
treeb9b807dcc311ffab2c2fe9fba6ccbc110b358d56 /system/chmsee/chmsee.SlackBuild
parentccd4daa81cc9294c4d7beee7fc21f540b0463306 (diff)
downloadslackbuilds-f69a75a9c744f876f38399333d0b1ea527cbc12b.tar.gz
system/chmsee: Updated for version 1.0.1
Diffstat (limited to 'system/chmsee/chmsee.SlackBuild')
-rw-r--r--system/chmsee/chmsee.SlackBuild19
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