summaryrefslogtreecommitdiff
path: root/development/amd-app-sdk/amd-app-sdk.SlackBuild
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2011-12-23 13:47:20 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-23 13:47:20 -0200
commitf0bc8747dd35935526f2d1772d121eea0f6b3bb0 (patch)
tree5e497dc0c9e2ad11adc8063abe9cacbdbd61a6e1 /development/amd-app-sdk/amd-app-sdk.SlackBuild
parentbca33ca6a01eecf45c4b98fc0ba0e5d43fe2ddec (diff)
downloadslackbuilds-f0bc8747dd35935526f2d1772d121eea0f6b3bb0.tar.gz
development/amd-app-sdk: Updated for version 2.6.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/amd-app-sdk/amd-app-sdk.SlackBuild')
-rw-r--r--development/amd-app-sdk/amd-app-sdk.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/development/amd-app-sdk/amd-app-sdk.SlackBuild b/development/amd-app-sdk/amd-app-sdk.SlackBuild
index 6fde5d7e0d..23f9ead60e 100644
--- a/development/amd-app-sdk/amd-app-sdk.SlackBuild
+++ b/development/amd-app-sdk/amd-app-sdk.SlackBuild
@@ -26,11 +26,12 @@
#
# Build history:
#
-# 1 - Initial release.
+# Initial release.
+# 20121220 - Updated for version 2.6: incompatible packaging with 2.4- versions
PRGNAM=amd-app-sdk
INT_NAME=AMD-APP-SDK
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,15 +51,17 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCHIVE_NAME="AMD-APP-SDK-v$VERSION-lnx${BITNESS}"
+INT_ARCHIVE_NAME="AMD-APP-SDK-v$VERSION-RC3-lnx${BITNESS}"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $ARCHIVE_NAME
+rm -rf $INT_ARCHIVE_NAME
tar xvf $CWD/$ARCHIVE_NAME.tgz
-cd $ARCHIVE_NAME
+tar xvf $INT_ARCHIVE_NAME.tgz
+cd $INT_ARCHIVE_NAME
# If we're packaging a 64 bit package, let's remove all 32 bit parts first (no multilib).
# RFC: should all these files really be removed, given that the user already downloaded them in the
@@ -87,7 +90,7 @@ mv * $PKG/opt/$PRGNAM
# Install the icd registration tarball into $PKG root
-( cd $PKG && tar xf $PKG/opt/$PRGNAM/icd-registration.tgz )
+( cd $PKG && tar xf $TMP/icd-registration.tgz )
# Copy the profile scripts in their final location...