summaryrefslogtreecommitdiff
path: root/system/chmsee
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:39:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:39:53 +0200
commit08a7ad2bc91317a6627d5de166a66fe99a152d66 (patch)
treeac48d84fbeab8f413a4fbe708a9bd2837146e259 /system/chmsee
parentecd1125ee07af2b67ff72137f5c40fbb88eecca9 (diff)
downloadslackbuilds-08a7ad2bc91317a6627d5de166a66fe99a152d66.tar.gz
system/chmsee: Updated for version 1.0.3
Diffstat (limited to 'system/chmsee')
-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 47ff17dc0c..5533edf224 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 df87f49d41..a1f5bb3aca 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 d16d25c43e..409e6c82b8 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 78ec1b1bec..855dd13569 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: