mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/DMitry: Updated for version 1.3a
This commit is contained in:
parent
8316e3105b
commit
efb2e4e956
2 changed files with 7 additions and 1 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue