summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/DMitry/DMitry.SlackBuild6
-rw-r--r--network/DMitry/DMitry.info2
2 files changed, 7 insertions, 1 deletions
diff --git a/network/DMitry/DMitry.SlackBuild b/network/DMitry/DMitry.SlackBuild
index 1c90f14563..1d8849ec08 100644
--- a/network/DMitry/DMitry.SlackBuild
+++ b/network/DMitry/DMitry.SlackBuild
@@ -40,10 +40,13 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -67,6 +70,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -92,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/DMitry/DMitry.info b/network/DMitry/DMitry.info
index ed38d6e6b1..67ea89c8e6 100644
--- a/network/DMitry/DMitry.info
+++ b/network/DMitry/DMitry.info
@@ -2,7 +2,9 @@ PRGNAM="DMitry"
VERSION="1.3a"
HOMEPAGE="http://www.mor-pah.net/index.php?file=projects/dmitry"
DOWNLOAD="http://mor-pah.net/code/DMitry-1.3a.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="8d578ba16de34b5cbebf6b767181b00d"
+MD5SUM_x86_64=""
MAINTAINER="Corrado Franco"
EMAIL="conraid@gmail.com"
APPROVED="dsomero"