diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 00:30:18 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:30:18 +0200 |
commit | 9e3aca9e9e7d7db38f5f8c02617b6c6777c7f0a6 (patch) | |
tree | ad2aa4b5dfae24c3521e7c08f1b9eee5861f0545 /libraries/libdiscid/libdiscid.SlackBuild | |
parent | 8ee45d19daedd33e722b7ad3adaf22ed58c57301 (diff) | |
download | slackbuilds-9e3aca9e9e7d7db38f5f8c02617b6c6777c7f0a6.tar.gz |
libraries/libdiscid: Updated for version 0.2.2
Diffstat (limited to 'libraries/libdiscid/libdiscid.SlackBuild')
-rw-r--r-- | libraries/libdiscid/libdiscid.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libdiscid/libdiscid.SlackBuild b/libraries/libdiscid/libdiscid.SlackBuild index 988b322155..2de2654e6b 100644 --- a/libraries/libdiscid/libdiscid.SlackBuild +++ b/libraries/libdiscid/libdiscid.SlackBuild @@ -33,10 +33,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --build=$ARCH-slackware-linux @@ -75,11 +79,11 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING ChangeLog README \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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} |