diff options
Diffstat (limited to 'libraries/ginac')
-rw-r--r-- | libraries/ginac/ginac.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/ginac/ginac.info | 10 | ||||
-rw-r--r-- | libraries/ginac/slack-desc | 8 |
3 files changed, 16 insertions, 10 deletions
diff --git a/libraries/ginac/ginac.SlackBuild b/libraries/ginac/ginac.SlackBuild index c5011b61c4..94c9bbca90 100644 --- a/libraries/ginac/ginac.SlackBuild +++ b/libraries/ginac/ginac.SlackBuild @@ -5,7 +5,7 @@ # Written by Marco Cecchetti <mrc.ildp@gmail.com> PRGNAM=${PRGNAM:-ginac} -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.5.5} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +17,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 @@ -41,6 +44,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -77,4 +81,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/ginac/ginac.info b/libraries/ginac/ginac.info index 624176ee64..2acc8eab22 100644 --- a/libraries/ginac/ginac.info +++ b/libraries/ginac/ginac.info @@ -1,8 +1,10 @@ PRGNAM="ginac" -VERSION="1.5.0" +VERSION="1.5.5" HOMEPAGE="http://www.ginac.de/" -DOWNLOAD="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-1.5.0.tar.bz2" -MD5SUM="537a69234948b88ec291bb2a9d37e5ad" +DOWNLOAD="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-1.5.5.tar.bz2" +MD5SUM="cb5334e3269f4c234a6c4d81d7ebd47e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Marco Cecchetti" EMAIL="mrc.ildp@gmail.com" -APPROVED="rworkman" +APPROVED="Erik Hanson" diff --git a/libraries/ginac/slack-desc b/libraries/ginac/slack-desc index b9c0a01b3a..be58e1bbc4 100644 --- a/libraries/ginac/slack-desc +++ b/libraries/ginac/slack-desc @@ -13,7 +13,7 @@ ginac: replacement engine for xloops which in the past was powered by ginac: the Maple CAS. ginac: ginac: Homepage: http://www.ginac.de/ -ginac: -ginac: -ginac: -ginac: +ginac: +ginac: +ginac: +ginac: |