summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/facile/facile.SlackBuild11
-rw-r--r--development/facile/facile.info4
2 files changed, 10 insertions, 5 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}
diff --git a/development/facile/facile.info b/development/facile/facile.info
index c0e5ffb900..956ced7ab9 100644
--- a/development/facile/facile.info
+++ b/development/facile/facile.info
@@ -2,7 +2,9 @@ PRGNAM="facile"
VERSION="1.1"
HOMEPAGE="http://www.recherche.enac.fr/opti/facile/"
DOWNLOAD="http://www.recherche.enac.fr/opti/facile/distrib/facile-1.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="ab673e1fc0859a42bcb639a02c2d7e9e"
-MAINTAINER="ppr:kut"
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="Michiel" \ No newline at end of file