diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-08 07:07:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:21 +0700 |
commit | 5fa85e707e1825013a50e42e68b9ff1c01688e58 (patch) | |
tree | 90dfed878b07ad31efad645461c14cdf587fd415 /development/mphidflash | |
parent | 167e1550096373f7dab939e8e41f0d408bc79dc1 (diff) | |
download | slackbuilds-5fa85e707e1825013a50e42e68b9ff1c01688e58.tar.gz |
development/mphidflash: Switch to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mphidflash')
-rw-r--r-- | development/mphidflash/mphidflash.SlackBuild | 11 | ||||
-rw-r--r-- | development/mphidflash/mphidflash.info | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/development/mphidflash/mphidflash.SlackBuild b/development/mphidflash/mphidflash.SlackBuild index 24432cf3a7..a5b7dc2533 100644 --- a/development/mphidflash/mphidflash.SlackBuild +++ b/development/mphidflash/mphidflash.SlackBuild @@ -62,7 +62,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION # create missing dir -> binaries mkdir $TMP/$PRGNAM-$VERSION/binaries chown -R root:root . @@ -74,19 +75,19 @@ find -L . \ # Compile the application if [ "$ARCH" = "x86_64" ]; then - make mphidflash64 + make mphidflash64 else - make mphidflash32 + make mphidflash32 fi # create missing dir -> usr/bin mkdir -p $PKG/usr/bin if [ "$ARCH" = "x86_64" ]; then - cp $TMP/$PRGNAM-$VERSION/binaries/$PRGNAM-$VERSION-linux-64 $PKG/usr/bin + cp $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/binaries/$PRGNAM-$VERSION-linux-64 $PKG/usr/bin ln -s /usr/bin/$PRGNAM-$VERSION-linux-64 $PKG/usr/bin/$PRGNAM else - cp $TMP/$PRGNAM-$VERSION/binaries/$PRGNAM-$VERSION-linux-32 $PKG/usr/bin + cp $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/binaries/$PRGNAM-$VERSION-linux-32 $PKG/usr/bin ln -s /usr/bin/$PRGNAM-$VERSION-linux-32 $PKG/usr/bin/$PRGNAM fi diff --git a/development/mphidflash/mphidflash.info b/development/mphidflash/mphidflash.info index ee8ff622c1..fc788990dc 100644 --- a/development/mphidflash/mphidflash.info +++ b/development/mphidflash/mphidflash.info @@ -1,8 +1,8 @@ PRGNAM="mphidflash" VERSION="1.6" -HOMEPAGE="https://code.google.com/p/mphidflash/" -DOWNLOAD="https://mphidflash.googlecode.com/svn/trunk/dist/mphidflash-1.6-src.tar.gz" -MD5SUM="18c1b4deed090d2494cf68e4fa7edf9c" +HOMEPAGE="https://github.com/ApertureLabsLtd/mphidflash" +DOWNLOAD="https://github.com/ApertureLabsLtd/mphidflash/archive/1.6/mphidflash-1.6.tar.gz" +MD5SUM="0ad8ae03f359c39cfe408a5e6d36d45a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |