mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libesmtp: Updated for version 1.0.4
This commit is contained in:
parent
cb833dec83
commit
647263a625
3 changed files with 14 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
||||||
LibESMTP is a library for posting Electronic Mail.
|
|
||||||
|
|
||||||
LibESMTP is a library to manage posting (or submission of) electronic mail
|
LibESMTP is a library to manage posting (or submission of) electronic mail
|
||||||
using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may
|
using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may
|
||||||
be used as part of a Mail User Agent (MUA) or another program that must be
|
be used as part of a Mail User Agent (MUA) or another program that must be
|
||||||
|
|
|
@ -11,6 +11,7 @@ VERSION=1.0.4
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -20,8 +21,13 @@ DOCS="AUTHORS ChangeLog COPYING* INSTALL NEWS Notes README TODO examples"
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -37,6 +43,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--enable-static=no \
|
--enable-static=no \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
|
@ -44,8 +51,10 @@ make || exit 1
|
||||||
make install DESTDIR=$PKG || exit 1
|
make install DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||||
|
xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
@ -56,4 +65,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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="libesmtp"
|
||||||
VERSION="1.0.4"
|
VERSION="1.0.4"
|
||||||
HOMEPAGE="http://www.stafford.uklinux.net/libesmtp/"
|
HOMEPAGE="http://www.stafford.uklinux.net/libesmtp/"
|
||||||
DOWNLOAD="http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.4.tar.bz2"
|
DOWNLOAD="http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.4.tar.bz2"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM="8b4e8a794adc46268f0c6a0b3fb79486"
|
MD5SUM="8b4e8a794adc46268f0c6a0b3fb79486"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Vasilis Papavasileiou"
|
MAINTAINER="Vasilis Papavasileiou"
|
||||||
EMAIL="el03020@mail.ntua.gr"
|
EMAIL="el03020@mail.ntua.gr"
|
||||||
APPROVED="rworkman"
|
APPROVED="rworkman"
|
||||||
|
|
Loading…
Reference in a new issue