aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/chmsee/README3
-rw-r--r--system/chmsee/chmsee.SlackBuild8
-rw-r--r--system/chmsee/chmsee.info2
-rw-r--r--system/chmsee/slack-desc10
4 files changed, 14 insertions, 9 deletions
diff --git a/system/chmsee/README b/system/chmsee/README
index 47ff17dc0c9ee..5533edf224575 100644
--- a/system/chmsee/README
+++ b/system/chmsee/README
@@ -2,6 +2,3 @@ ChmSee is an HTML Help viewer for Unix/Linux. It is based on CHMLIB
and use Gtk2+ as frontend toolkit. Because of using gecko as HTML
rendering engine, ChmSee can support rich features of modern HTML
page, such as CSS and JavaScript.
-
-This requires chmlib, which is also available from SlackBuilds.org.
-You will also need to have the SeaMonkey package installed.
diff --git a/system/chmsee/chmsee.SlackBuild b/system/chmsee/chmsee.SlackBuild
index df87f49d413cb..a1f5bb3aca6c2 100644
--- a/system/chmsee/chmsee.SlackBuild
+++ b/system/chmsee/chmsee.SlackBuild
@@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -58,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-gecko=seamonkey \
@@ -88,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/chmsee/chmsee.info b/system/chmsee/chmsee.info
index d16d25c43ef72..409e6c82b8b81 100644
--- a/system/chmsee/chmsee.info
+++ b/system/chmsee/chmsee.info
@@ -2,7 +2,9 @@ PRGNAM="chmsee"
VERSION="1.0.3"
HOMEPAGE="http://code.google.com/p/chmsee/"
DOWNLOAD="http://chmsee.googlecode.com/files/chmsee-1.0.3.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="682e26cf366c9f6f01d29329cef48eec"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="dsomero"
diff --git a/system/chmsee/slack-desc b/system/chmsee/slack-desc
index 78ec1b1bec201..855dd13569557 100644
--- a/system/chmsee/slack-desc
+++ b/system/chmsee/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler----------------------------------------------------|
chmsee: ChmSee (A viewer for MS CHM, HTML Help, Files)
-chmsee:
+chmsee:
chmsee: ChmSee is an HTML Help viewer for Unix/Linux. It is based on CHMLIB
chmsee: and use Gtk2+ as frontend toolkit. Because of using gecko as HTML
chmsee: rendering engine, ChmSee can support rich features of modern HTML
chmsee: page, such as CSS and JavaScript.
-chmsee:
+chmsee:
chmsee: Homepage: http://code.google.com/p/chmsee/
-chmsee:
-chmsee:
-chmsee:
+chmsee:
+chmsee:
+chmsee: