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/mphidflash.SlackBuild | |
parent | 167e1550096373f7dab939e8e41f0d408bc79dc1 (diff) |
development/mphidflash: Switch to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mphidflash/mphidflash.SlackBuild')
-rw-r--r-- | development/mphidflash/mphidflash.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/development/mphidflash/mphidflash.SlackBuild b/development/mphidflash/mphidflash.SlackBuild index 24432cf3a715a..a5b7dc253376c 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 |