summaryrefslogtreecommitdiff
path: root/development/amd-app-sdk/amd-app-sdk.SlackBuild
diff options
context:
space:
mode:
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...