aboutsummaryrefslogtreecommitdiff
path: root/sci/libs/fftw
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-12-16 17:54:07 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-12-16 17:54:07 +0000
commit4130c1b3d24339214c92af3c0562684964802612 (patch)
tree448769dc7747cf5819ca856b40c8ee44f6468387 /sci/libs/fftw
parent114df61b002f43d2135873bfcfaf8ff7b359a1b1 (diff)
downloadslackbuilds-4130c1b3d24339214c92af3c0562684964802612.tar.gz
slackbuilds-4130c1b3d24339214c92af3c0562684964802612.tar.bz2
fftw fftw: updating to 3.2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2021 370017ae-e619-0410-ac65-c121f96126d4
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