diff options
Diffstat (limited to 'sci/mathematics')
-rw-r--r-- | sci/mathematics/octave/octave.SlackBuild | 6 | ||||
-rwxr-xr-x | sci/mathematics/scilab/scilab.SlackBuild | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sci/mathematics/octave/octave.SlackBuild b/sci/mathematics/octave/octave.SlackBuild index da7abf85..cdc29063 100644 --- a/sci/mathematics/octave/octave.SlackBuild +++ b/sci/mathematics/octave/octave.SlackBuild @@ -16,7 +16,7 @@ # # slackbuild for octave, by Rudson R. Alves # requires: gcc flex bison gperf -# tested: octave-2.9.13 +# tested: octave-3.0.0 # # Look for slackbuildrc @@ -31,7 +31,7 @@ CWD="$(pwd)" SRC_NAME="octave" PKG_NAME="octave" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=2.9.13} +SRC_VERSION=${VERSION:=3.0.0} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1rra} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME @@ -86,7 +86,7 @@ fi # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR -PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` +PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`" cd "$PKG_SRC" # Configure diff --git a/sci/mathematics/scilab/scilab.SlackBuild b/sci/mathematics/scilab/scilab.SlackBuild index 7068380f..abe998b1 100755 --- a/sci/mathematics/scilab/scilab.SlackBuild +++ b/sci/mathematics/scilab/scilab.SlackBuild @@ -86,7 +86,7 @@ fi # Untar cd "$PKG_WORK" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR -PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` +PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`" cd "$PKG_SRC" # Configure @@ -100,7 +100,8 @@ make all || exit $ERROR_MAKE # Change intall path eval "sed -i 's¦^PREFIX=$PREFIX¦PREFIX=$PKG/${PREFIX:1}¦' Makefile" -make install +# Install +make install || exit $ERROR_INSTALL cd $PKG for i in `grep -Rl '/tmp/package-scilab' usr/*`; do |