aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-01-06 06:45:48 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:28 +0700
commitbccbfdcbc6718842e2c42245663fb4f4bc482022 (patch)
tree5fbe58d9987e146dd52b06d941ec02df628ca484 /academic
parent38179fad5a274b346e23b55ead0617a7dae5452a (diff)
academic/DRAMSys: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named tarballs and src directories. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/DRAMSys/DRAMSys.SlackBuild6
-rw-r--r--academic/DRAMSys/DRAMSys.info8
2 files changed, 9 insertions, 5 deletions
diff --git a/academic/DRAMSys/DRAMSys.SlackBuild b/academic/DRAMSys/DRAMSys.SlackBuild
index abc780aa8d58..bf56134fd2d6 100644
--- a/academic/DRAMSys/DRAMSys.SlackBuild
+++ b/academic/DRAMSys/DRAMSys.SlackBuild
@@ -72,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$COMMIT
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
cd $PRGNAM-$COMMIT
chown -R root:root .
@@ -84,8 +84,8 @@ find -L . \
# unpack requirements
-tar xvf $CWD/nlohmann-json-efcc826.tar.gz --strip-component 1 -C DRAMSys/library/src/common/third_party/nlohmann
-tar xvf $CWD/sqlite-amalgamation-9be05e1.tar.gz --strip-component 1 -C DRAMSys/library/src/common/third_party/sqlite-amalgamation
+tar xvf $CWD/json-efcc826ecb9b55893397f749e5514316ba8629bb.tar.gz --strip-component 1 -C DRAMSys/library/src/common/third_party/nlohmann
+tar xvf $CWD/sqlite-amalgamation-9be05e13408dd8cf8dafe8f11b1700a28194e07e.tar.gz --strip-component 1 -C DRAMSys/library/src/common/third_party/sqlite-amalgamation
if [ "${POWER:-no}" == "yes" ]; then
# fix for using system installed DRAMPower
diff --git a/academic/DRAMSys/DRAMSys.info b/academic/DRAMSys/DRAMSys.info
index f11822c84534..e6cfe22eb282 100644
--- a/academic/DRAMSys/DRAMSys.info
+++ b/academic/DRAMSys/DRAMSys.info
@@ -1,8 +1,12 @@
PRGNAM="DRAMSys"
VERSION="20220830"
HOMEPAGE="https://github.com/tukl-msd/DRAMSys"
-DOWNLOAD="https://github.com/tukl-msd/DRAMSys/archive/09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f/DRAMSys-20220830.tar.gz https://github.com/nlohmann/json/archive/efcc826ecb9b55893397f749e5514316ba8629bb/nlohmann-json-efcc826.tar.gz https://github.com/azadkuh/sqlite-amalgamation/archive/9be05e13408dd8cf8dafe8f11b1700a28194e07e/sqlite-amalgamation-9be05e1.tar.gz"
-MD5SUM="812ef08562d99038669c5eb881e85c63 14999edd13ec7697cce179e344615c2a d557d04aa385876917d7d63977b94931"
+DOWNLOAD="https://github.com/tukl-msd/DRAMSys/archive/09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f/DRAMSys-09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f.tar.gz \
+ https://github.com/nlohmann/json/archive/efcc826ecb9b55893397f749e5514316ba8629bb/json-efcc826ecb9b55893397f749e5514316ba8629bb.tar.gz \
+ https://github.com/azadkuh/sqlite-amalgamation/archive/9be05e13408dd8cf8dafe8f11b1700a28194e07e/sqlite-amalgamation-9be05e13408dd8cf8dafe8f11b1700a28194e07e.tar.gz"
+MD5SUM="812ef08562d99038669c5eb881e85c63 \
+ 14999edd13ec7697cce179e344615c2a \
+ d557d04aa385876917d7d63977b94931"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SystemC"