aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@gmail.com>2010-05-13 00:28:40 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:28:40 +0200
commiteab5e61519eca2c3e84b415507797d867f2e3779 (patch)
tree23f698cf48dc6abbcfd955df9f2ddabbff8b963a
parent5ff6ae914a2abdf51702effdff6406a7ecf63587 (diff)
libraries/QuantLib-Python: Updated for version 0.9.7
-rw-r--r--libraries/QuantLib-Python/QuantLib-Python.SlackBuild5
-rw-r--r--libraries/QuantLib-Python/QuantLib-Python.info2
-rw-r--r--libraries/QuantLib-Python/README3
-rw-r--r--libraries/QuantLib-Python/slack-desc2
4 files changed, 8 insertions, 4 deletions
diff --git a/libraries/QuantLib-Python/QuantLib-Python.SlackBuild b/libraries/QuantLib-Python/QuantLib-Python.SlackBuild
index 319c6b3e9543..45f82f3568b7 100644
--- a/libraries/QuantLib-Python/QuantLib-Python.SlackBuild
+++ b/libraries/QuantLib-Python/QuantLib-Python.SlackBuild
@@ -19,10 +19,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
@@ -60,4 +63,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/libraries/QuantLib-Python/QuantLib-Python.info b/libraries/QuantLib-Python/QuantLib-Python.info
index 7a277e217424..a84f69dfb538 100644
--- a/libraries/QuantLib-Python/QuantLib-Python.info
+++ b/libraries/QuantLib-Python/QuantLib-Python.info
@@ -2,7 +2,9 @@ PRGNAM="QuantLib-Python"
VERSION="0.9.7"
HOMEPAGE="http://www.quantlib.org/"
DOWNLOAD="http://downloads.sourceforge.net/quantlib/QuantLib-SWIG-0.9.7.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="8f265a9cd71a2978e823c921b4b60eae"
+MD5SUM_x86_64=""
MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com"
APPROVED="rworkman"
diff --git a/libraries/QuantLib-Python/README b/libraries/QuantLib-Python/README
index 860f6985455b..c6c3c75a7c05 100644
--- a/libraries/QuantLib-Python/README
+++ b/libraries/QuantLib-Python/README
@@ -2,5 +2,4 @@ QuantLib-Python contains Python bindings of the QuantLib, open-source
C++ library for quantitative finance. The bindings are generated by
the SWIG tool.
-QuantLib-Python requires QuantLib and SWIG, both of which are also
-available from SlackBuilds.org.
+QuantLib-Python requires QuantLib available at SlackBuilds.org.
diff --git a/libraries/QuantLib-Python/slack-desc b/libraries/QuantLib-Python/slack-desc
index 5a86e332adb6..b8b4e4bbf2e8 100644
--- a/libraries/QuantLib-Python/slack-desc
+++ b/libraries/QuantLib-Python/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler----------------------------------------------------|
+ |-----handy-ruler----------------------------------------------------|
QuantLib-Python: QuantLib-Python contains QuantLib Python bindings.
QuantLib-Python:
QuantLib-Python: QuantLib-Python contains Python bindings of the