mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
38179fad5a
commit
bccbfdcbc6
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue