libraries/ginac: Updated for version 1.5.5

This commit is contained in:
Marco Cecchetti 2010-05-13 00:29:34 +02:00 committed by Erik Hanson
parent 955e6916d9
commit 9eee8c8ad3
3 changed files with 16 additions and 10 deletions

View file

@ -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}

View file

@ -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"

View file

@ -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: