summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/esmtp/esmtp.SlackBuild14
-rw-r--r--network/esmtp/esmtp.info10
2 files changed, 15 insertions, 9 deletions
diff --git a/network/esmtp/esmtp.SlackBuild b/network/esmtp/esmtp.SlackBuild
index f8644562b6..0106c7bd9a 100644
--- a/network/esmtp/esmtp.SlackBuild
+++ b/network/esmtp/esmtp.SlackBuild
@@ -5,10 +5,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=esmtp
-VERSION=0.5.1
+VERSION=1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -20,8 +21,12 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKFLAGS="-O2 -fPIC"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
@@ -34,10 +39,11 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- || exit 1
+ --mandir=/usr/man \
+ --sysconfdir=/etc
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
diff --git a/network/esmtp/esmtp.info b/network/esmtp/esmtp.info
index 532a4ee835..071ddf5e97 100644
--- a/network/esmtp/esmtp.info
+++ b/network/esmtp/esmtp.info
@@ -1,8 +1,8 @@
PRGNAM="esmtp"
-VERSION="0.5.1"
+VERSION="1.0"
HOMEPAGE="http://esmtp.sourceforge.net/"
-DOWNLOAD="http://switch.dl.sourceforge.net/sourceforge/esmtp/esmtp-0.5.1.tar.bz2"
-MD5SUM="9f0b809e891a548910f099efc4315b02"
+DOWNLOAD="http://downloads.sourceforge.net/esmtp/esmtp-1.0.tar.bz2"
+MD5SUM="e4c4e00eecb70b528a9d772d2e633b29"
MAINTAINER="Vasilis Papavasileiou"
-EMAIL="el03020@mail.ntua.gr"
-APPROVED="rworkman"
+EMAIL="el03020 at mail dot ntua dot gr"
+APPROVED="dsomero"