diff options
author | Daniel <whitehate{at}gmail{dot}com> | 2010-05-13 00:31:37 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:31:37 +0200 |
commit | 13cb632d7effa7004e41bb8087267f4ff6683fe3 (patch) | |
tree | c5772ae86b9a8ebf00d0461f6e68d584b5eb5450 /libraries/libpar2/libpar2.SlackBuild | |
parent | 77bf22de96e667b044742614a3b13e364978c4b7 (diff) | |
download | slackbuilds-13cb632d7effa7004e41bb8087267f4ff6683fe3.tar.gz |
libraries/libpar2: Updated for version 0.2
Diffstat (limited to 'libraries/libpar2/libpar2.SlackBuild')
-rw-r--r-- | libraries/libpar2/libpar2.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libpar2/libpar2.SlackBuild b/libraries/libpar2/libpar2.SlackBuild index e3003ed8c0..af73192bfc 100644 --- a/libraries/libpar2/libpar2.SlackBuild +++ b/libraries/libpar2/libpar2.SlackBuild @@ -32,10 +32,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 @@ -53,6 +56,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -73,4 +77,4 @@ 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} |