aboutsummaryrefslogtreecommitdiff
path: root/libraries/libetpan
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libetpan')
-rw-r--r--libraries/libetpan/README8
-rw-r--r--libraries/libetpan/libetpan.SlackBuild28
-rw-r--r--libraries/libetpan/libetpan.info10
3 files changed, 21 insertions, 25 deletions
diff --git a/libraries/libetpan/README b/libraries/libetpan/README
index 90d1dd4ad32a..9234d9610ba5 100644
--- a/libraries/libetpan/README
+++ b/libraries/libetpan/README
@@ -1,6 +1,2 @@
-libEtPan - A mail purpose library.
-
-The purpose of this mail library is to provide a portable, efficient
-middleware for different kinds of mail access. When using the
-drivers interface, the interface is the same for all kinds of mail
-access, remote and local mailboxes.
+libEtPan is a mail library is to provide a portable, efficient
+middleware for different kinds of mail access.
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild
index 6f363436b2f1..8af5b9437343 100644
--- a/libraries/libetpan/libetpan.SlackBuild
+++ b/libraries/libetpan/libetpan.SlackBuild
@@ -2,13 +2,13 @@
# Slackware build script for libetpan
# Written by Erik Hanson erik@slackbuilds.org
-# Updated to 0.52 by Timothy Pollard <grainman.timp@gmail.com>
PRGNAM=libetpan
-VERSION=0.52
+VERSION=0.57
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -20,11 +20,13 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -33,19 +35,17 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var \
- || exit 1
-
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+ --localstatedir=/var/lib \
+ --disable-static \
+ --build=$ARCH-slackware-linux
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | 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
-)
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT ChangeLog INSTALL NEWS TODO doc/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYRIGHT ChangeLog NEWS README doc/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/doc/Makefile*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libetpan/libetpan.info b/libraries/libetpan/libetpan.info
index e943ca310c63..730849d9a7f3 100644
--- a/libraries/libetpan/libetpan.info
+++ b/libraries/libetpan/libetpan.info
@@ -1,8 +1,8 @@
PRGNAM="libetpan"
-VERSION="0.52"
+VERSION="0.57"
HOMEPAGE="http://www.etpan.org/"
-DOWNLOAD="http://downloads.sourceforge.net/libetpan/libetpan-0.52.tar.gz"
-MD5SUM="119eb4ac27fb75540ca74d8997f7fc7f"
-MAINTAINER="Timothy Pollard"
-EMAIL="grainman.timp@gmail.com"
+DOWNLOAD="http://downloads.sourceforge.net/libetpan/libetpan-0.57.tar.gz"
+MD5SUM="8ce8c6c071e81884a475b12b7f9a9cc0"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"