diff options
author | Fellype do Nascimento <fellype (at) gmail (dot) com> | 2023-01-07 08:03:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:03:29 +0700 |
commit | d70330fd590f19c6e970680882870cb955375c06 (patch) | |
tree | e4038fa2faeabd81510a83abdd912e187664a30d /academic | |
parent | de57ce753f7df6ae3d5181b15edc95e0b067300f (diff) |
academic/FreeFem: Updated for version 4.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/FreeFem/FreeFem.SlackBuild | 19 | ||||
-rw-r--r-- | academic/FreeFem/FreeFem.info | 10 |
2 files changed, 13 insertions, 16 deletions
diff --git a/academic/FreeFem/FreeFem.SlackBuild b/academic/FreeFem/FreeFem.SlackBuild index 35ce05e04bd74..9270e4699169c 100644 --- a/academic/FreeFem/FreeFem.SlackBuild +++ b/academic/FreeFem/FreeFem.SlackBuild @@ -1,9 +1,9 @@ #!/bin/bash # Slackware build script for FreeFem -# Based on the Slackware 14.2 SlackBuild and on PKGBUILD script for freefem from AUR +# Based on the Slackware 15.0 SlackBuild and on PKGBUILD script for freefem from AUR # -# Copyright 2019-2022, Fellype do Nascimento, Campinas - Brazil +# Copyright 2019-2023, Fellype do Nascimento, Guaratinguetá - Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,11 +26,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=FreeFem -VERSION=${VERSION:-4.11} +VERSION=${VERSION:-4.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVER=${SRCVER:-4.11} +SRCVER=${SRCVER:-4.12} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -84,33 +84,30 @@ cp $CWD/tetgen1.5.1-beta1.tar.gz 3rdparty/pkg autoreconf -i ./configure \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --prefix=/usr \ --sysconfdir=/etc \ --disable-mumps \ - --with-petsc=/usr/lib${LIBDIRSUFFIX}/petsc/conf/petscvariables \ --with-mpi=/usr/bin/mpic++ \ --enable-hpddm \ --enable-opengl find . -name Makefile -exec sed -i 's+^gcc+gcc =+' {} \; find . -name Makefile -exec sed -i 's+^dir+dir =+' {} \; +find . -name Makefile -exec sed -i "s:/usr/lib/ff++/:/usr/lib${LIBDIRSUFFIX}/ff++/:" {} \; -## TODO: Enable mumps - FreeFem fails to compile with this option enabled up to now +## TODO: Enable mumps make make install DESTDIR=$PKG -if [ "$ARCH" = "x86_64" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} -fi - find "$PKG"/usr/lib${LIBDIRSUFFIX}/ff++/ -name "*.h" -exec chmod o+r {} \; find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG.md LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/academic/FreeFem/FreeFem.info b/academic/FreeFem/FreeFem.info index 990f463359da4..522af13c36bc8 100644 --- a/academic/FreeFem/FreeFem.info +++ b/academic/FreeFem/FreeFem.info @@ -1,14 +1,14 @@ PRGNAM="FreeFem" -VERSION="4.11" +VERSION="4.12" HOMEPAGE="https://freefem.org/" -DOWNLOAD="https://github.com/FreeFem/FreeFem-sources/archive/v4.11/FreeFem-sources-4.11.tar.gz \ - http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz \ +DOWNLOAD="https://github.com/FreeFem/FreeFem-sources/archive/v4.12/FreeFem-sources-4.12.tar.gz \ + https://master.dl.sourceforge.net/project/openfoam-extend/foam-extend-3.0/ThirdParty/metis-5.1.0.tar.gz \ http://www.tetgen.org/1.5/src/tetgen1.5.1-beta1.tar.gz" -MD5SUM="b6355b01842204d068ce4530dd45b32f \ +MD5SUM="72b663de8bfce31ea6b8d39134dfc05d \ 5465e67079419a69e0116de24fce58fe \ 3d55c197bcbfc611b7ced6f343643756" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="arpack-ng hdf5 suitesparse petsc" +REQUIRES="arpack-ng camd hdf5 suitesparse" MAINTAINER="Fellype do Nascimento" EMAIL="fellype (at) gmail (dot) com" |