diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:38:09 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:38:09 +0200 |
commit | 6bdf845136b8f0868d4318d61dfe08a611d239c4 (patch) | |
tree | 7cee5ee0700726635267b0d389bb3fdc153fe6cd /network/rhapsody/rhapsody.SlackBuild | |
parent | 6ba5faeff93c5be66c8b9d766bb0ebb9e9007ff2 (diff) | |
download | slackbuilds-6bdf845136b8f0868d4318d61dfe08a611d239c4.tar.gz |
network/rhapsody: Updated for version 0.28b
Diffstat (limited to 'network/rhapsody/rhapsody.SlackBuild')
-rw-r--r-- | network/rhapsody/rhapsody.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/network/rhapsody/rhapsody.SlackBuild b/network/rhapsody/rhapsody.SlackBuild index 540a248e18..90a7ecec4e 100644 --- a/network/rhapsody/rhapsody.SlackBuild +++ b/network/rhapsody/rhapsody.SlackBuild @@ -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} |