aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 319c6b3e95433..45f82f3568b71 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 7a277e2174241..a84f69dfb538e 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 860f6985455b6..c6c3c75a7c052 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 5a86e332adb62..b8b4e4bbf2e8f 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