mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
development/facile: Updated for version 1.1
This commit is contained in:
parent
bb1e8ad1ad
commit
466c36d08a
2 changed files with 10 additions and 5 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
Loading…
Reference in a new issue