From 5af4f2b0615f5e0d18ce4fd4411cf082878d6de4 Mon Sep 17 00:00:00 2001 From: Vasilis Papavasileiou Date: Tue, 11 May 2010 22:25:15 +0200 Subject: network/esmtp: Updated for version 1.0 --- network/esmtp/esmtp.SlackBuild | 14 ++++++++++---- network/esmtp/esmtp.info | 10 +++++----- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'network/esmtp') diff --git a/network/esmtp/esmtp.SlackBuild b/network/esmtp/esmtp.SlackBuild index f8644562b657..0106c7bd9a98 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 532a4ee83503..071ddf5e97ba 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" -- cgit v1.2.3