aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:23:52 +0200
commitfb43a7df84ab0fa62cfd2fe61532ebc792eecd4a (patch)
treec6b26c5c79b03ffef8ac06b466a375d0f803d4d1 /libraries
parent2b0645901635c5f02c0a77c23ef5d91e30326a8b (diff)
libraries/libetpan: Updated for version 0.57
Diffstat (limited to 'libraries')
-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 90d1dd4ad32a3..9234d9610ba52 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 6f363436b2f15..8af5b9437343d 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 e943ca310c63d..730849d9a7f3d 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"