From 8d0b4dedc9b7cc88ccf250dc5ecf58b0742a0410 Mon Sep 17 00:00:00 2001 From: rudson Date: Tue, 22 Jan 2008 17:46:04 +0000 Subject: git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1602 370017ae-e619-0410-ac65-c121f96126d4 --- sci/mathematics/octave/octave.SlackBuild | 6 +++--- sci/mathematics/scilab/scilab.SlackBuild | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'sci') 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 -- cgit v1.2.3