summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/mphidflash/mphidflash.SlackBuild11
-rw-r--r--development/mphidflash/mphidflash.info6
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=""