aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmbiff
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmbiff')
-rw-r--r--desktop/wmbiff/slack-desc14
-rw-r--r--desktop/wmbiff/wmbiff.SlackBuild13
-rw-r--r--desktop/wmbiff/wmbiff.info2
3 files changed, 18 insertions, 11 deletions
diff --git a/desktop/wmbiff/slack-desc b/desktop/wmbiff/slack-desc
index e094671091d19..2301602cdb4e5 100644
--- a/desktop/wmbiff/slack-desc
+++ b/desktop/wmbiff/slack-desc
@@ -10,10 +10,10 @@ wmbiff: wmbiff (Window Maker mailbox dockable application)
wmbiff:
wmbiff: wmbiff displays the status of up to five mailboxes. It shows the
wmbiff: number of new mail messages, if any, or the total number of messages.
-wmbiff:
-wmbiff:
-wmbiff:
-wmbiff:
-wmbiff:
-wmbiff:
-wmbiff:
+wmbiff:
+wmbiff:
+wmbiff:
+wmbiff:
+wmbiff:
+wmbiff:
+wmbiff:
diff --git a/desktop/wmbiff/wmbiff.SlackBuild b/desktop/wmbiff/wmbiff.SlackBuild
index 5e7721bf0901b..e59bbb9b5e019 100644
--- a/desktop/wmbiff/wmbiff.SlackBuild
+++ b/desktop/wmbiff/wmbiff.SlackBuild
@@ -18,10 +18,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
@@ -30,7 +33,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -43,10 +46,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc/X11/WindowMaker \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-debug
+ --disable-debug \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -74,5 +79,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/desktop/wmbiff/wmbiff.info b/desktop/wmbiff/wmbiff.info
index 50ca3bb1427ea..264ca1c315abc 100644
--- a/desktop/wmbiff/wmbiff.info
+++ b/desktop/wmbiff/wmbiff.info
@@ -3,6 +3,8 @@ VERSION="0.4.27"
HOMEPAGE="http://wmbiff.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/wmbiff/wmbiff-0.4.27.tar.gz"
MD5SUM="50466b6e4a143cf4e55546b34d5792e6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Cezary M. Kruk"
EMAIL="c.kruk@bigfoot.com"
APPROVED="dsomero"