network/rhapsody: Updated for version 0.28b

This commit is contained in:
B. Watson 2010-05-13 00:38:09 +02:00 committed by David Somero
parent 6ba5faeff9
commit 6bdf845136
3 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,3 @@
rhapsody - text console IRC client for Unix operating systems.
Rhapsody is small, fast, portable and easy to use, yet it is full
featured. The thing that separates it from the crowd is its intuitive
menu driven user interface.

View file

@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
LIBPATH=/usr/lib
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
@ -39,8 +42,8 @@ chmod -R a-s,u+w,go+r-w .
make LOCALFLAGS="$SLKCFLAGS"
strip $PRGNAM
make install \
INSTALLPATH=$PKG/usr/bin \
INSTDOCSPATH=$PKG/usr/doc/$PRGNAM-$VERSION
INSTALLPATH=$PKG/usr/bin \
INSTDOCSPATH=$PKG/usr/doc/$PRGNAM-$VERSION
cp README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@ -50,10 +53,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# but I like the "every binary has a man page" approach...
mkdir -p $PKG/usr/man/man1
sed "s/@VERSION@/$VERSION/g" < $CWD/$PRGNAM.1 | \
gzip -9c - > $PKG/usr/man/man1/$PRGNAM.1.gz
gzip -9c - > $PKG/usr/man/man1/$PRGNAM.1.gz
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

@ -2,7 +2,9 @@ PRGNAM="rhapsody"
VERSION="0.28b"
HOMEPAGE="http://rhapsody.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/rhapsody/rhapsody_0.28b.tgz"
DOWNLOAD_x86_64=""
MD5SUM="0792de636a2625a826491e387fcb1305"
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"