diff options
Diffstat (limited to 'development/rarian/rarian.SlackBuild')
-rw-r--r-- | development/rarian/rarian.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/development/rarian/rarian.SlackBuild b/development/rarian/rarian.SlackBuild index b0255070d2..7802871069 100644 --- a/development/rarian/rarian.SlackBuild +++ b/development/rarian/rarian.SlackBuild @@ -46,10 +46,13 @@ DOCS="MAINTAINERS TODO COPYING NEWS README INSTALL COPYING.UTILS COPYING.LIB Cha 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 @@ -71,6 +74,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ @@ -97,4 +101,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} |