aboutsummaryrefslogtreecommitdiff
path: root/sci/libs/fftw
diff options
context:
space:
mode:
Diffstat (limited to 'sci/libs/fftw')
-rwxr-xr-xsci/libs/fftw/fftw.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci/libs/fftw/fftw.SlackBuild b/sci/libs/fftw/fftw.SlackBuild
index 523bed15..8d8aaa0e 100755
--- a/sci/libs/fftw/fftw.SlackBuild
+++ b/sci/libs/fftw/fftw.SlackBuild
@@ -16,7 +16,7 @@
#
# slackbuild for fftw, by Silvio Rhatto
# requires:
-# tested: fftw-3.1.2
+# tested: fftw-3.2
#
# Look for slackbuildrc
@@ -31,7 +31,7 @@ CWD="$(pwd)"
SRC_NAME="fftw"
PKG_NAME="fftw"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=3.1.2}
+SRC_VERSION=${VERSION:=3.2}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -230,6 +230,6 @@ cd "$PKG"
makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ]; then
+if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then
rm -rf "$PKG_WORK" "$PKG"
fi