diff options
Diffstat (limited to 'development/facile/facile.SlackBuild')
-rw-r--r-- | development/facile/facile.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/development/facile/facile.SlackBuild b/development/facile/facile.SlackBuild index ce3973ef6e..cbc227fbcf 100644 --- a/development/facile/facile.SlackBuild +++ b/development/facile/facile.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for facile -# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -35,10 +35,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 @@ -52,10 +55,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -mkdir -p $PKG/usr/lib/ocaml/facile +mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile ./configure \ - --faciledir $PKG/usr/lib/ocaml/facile + --faciledir $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile make make install @@ -71,4 +74,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} |