From 466c36d08af26e3389d9d431d64b7b944630d483 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:24:35 +0200 Subject: development/facile: Updated for version 1.1 --- development/facile/facile.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'development/facile/facile.SlackBuild') 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 +# Copyright 2008-2009 Heinz Wiesinger # 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} -- cgit v1.2.3