desktop/wmbiff: Updated for version 0.4.27

This commit is contained in:
Cezary M. Kruk 2010-05-13 00:23:22 +02:00 committed by David Somero
parent da9cf54545
commit 7da63dcd3e
3 changed files with 18 additions and 11 deletions

View file

@ -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:

View file

@ -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}

View file

@ -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"