academic/sundials: Updated for version 2.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4632220513
commit
ca37b58ef6
|
@ -23,8 +23,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=sundials
|
||||
VERSION=${VERSION:-2.5.0}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-2.6.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -71,21 +71,9 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
cd build
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
../configure \
|
||||
--prefix=$PKG/usr \
|
||||
--libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
|
||||
--build=$ARCH-slackware-linux \
|
||||
F77=gfortran \
|
||||
--disable-mpi \
|
||||
--with-cflags=-fPIC \
|
||||
--enable-shared \
|
||||
--enable-static=no
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=BOOL:ON "../"
|
||||
make
|
||||
make install
|
||||
make DESTDIR="$PKG/" install
|
||||
|
||||
cd ..
|
||||
|
||||
|
@ -93,8 +81,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README INSTALL_NOTES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README INSTALL_GUIDE.pdf LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
mv $PKG/usr/examples $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="sundials"
|
||||
VERSION="2.5.0"
|
||||
VERSION="2.6.2"
|
||||
HOMEPAGE="http://computation.llnl.gov/casc/sundials/main.html"
|
||||
DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/sundials/sundials-2.5.0.tar.gz/aba8b56eec600de3109cfb967aa3ba0f/sundials-2.5.0.tar.gz"
|
||||
MD5SUM="aba8b56eec600de3109cfb967aa3ba0f"
|
||||
DOWNLOAD="http://pkgs.fedoraproject.org/repo/extras/sundials/sundials-2.6.2.tar.gz/3deeb0ede9f514184c6bd83ecab77d95/sundials-2.6.2.tar.gz"
|
||||
MD5SUM="3deeb0ede9f514184c6bd83ecab77d95"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue