aboutsummaryrefslogtreecommitdiff
path: root/games/chromium-bsu/chromium-bsu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/chromium-bsu/chromium-bsu.SlackBuild')
-rw-r--r--games/chromium-bsu/chromium-bsu.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/chromium-bsu/chromium-bsu.SlackBuild b/games/chromium-bsu/chromium-bsu.SlackBuild
index c08acd4fa63f2..9c9ca29fc900a 100644
--- a/games/chromium-bsu/chromium-bsu.SlackBuild
+++ b/games/chromium-bsu/chromium-bsu.SlackBuild
@@ -26,13 +26,13 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
PRGNAM=chromium-bsu
-VERSION=${VERSION:-0.9.16}
+VERSION=${VERSION:-0.9.16.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -75,7 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-rpath \
- --with-x
+ --disable-silent-rules \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -85,9 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-cp -a \
- AUTHORS ChangeLog COPYING NEWS README* data/doc/*.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install