summaryrefslogtreecommitdiffstats
path: root/system/memory-editor/memory-editor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/memory-editor/memory-editor.SlackBuild')
-rw-r--r--system/memory-editor/memory-editor.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/memory-editor/memory-editor.SlackBuild b/system/memory-editor/memory-editor.SlackBuild
index 6cd1086a61..fd79cc5079 100644
--- a/system/memory-editor/memory-editor.SlackBuild
+++ b/system/memory-editor/memory-editor.SlackBuild
@@ -69,8 +69,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+rm -rf med-$VERSION
+tar xvf $CWD/med-$VERSION.tar.gz
cd med-$VERSION
chown -R root:root .
find -L . \
@@ -90,7 +90,9 @@ cd build
make install/strip DESTDIR=$PKG
cd ..
-mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+if [ -n "${LIBDIRSUFFIX}" ] ; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+fi
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la