From eab5e61519eca2c3e84b415507797d867f2e3779 Mon Sep 17 00:00:00 2001 From: Aleksandar Samardzic Date: Thu, 13 May 2010 00:28:40 +0200 Subject: libraries/QuantLib-Python: Updated for version 0.9.7 --- libraries/QuantLib-Python/QuantLib-Python.SlackBuild | 5 ++++- libraries/QuantLib-Python/QuantLib-Python.info | 2 ++ libraries/QuantLib-Python/README | 3 +-- libraries/QuantLib-Python/slack-desc | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libraries/QuantLib-Python/QuantLib-Python.SlackBuild b/libraries/QuantLib-Python/QuantLib-Python.SlackBuild index 319c6b3e95..45f82f3568 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 7a277e2174..a84f69dfb5 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 860f698545..c6c3c75a7c 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 5a86e332ad..b8b4e4bbf2 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 -- cgit v1.2.3