aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 14:56:18 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 14:56:18 +0200
commite4c442f594bd99621303d635df6fb640338e6226 (patch)
treeaf7906cecb39acd30dc2de92d8044a4941657427 /libraries
parent3037531ba2e64e74643b011597021787cb7264ef (diff)
libraries/libetpan: Initial import
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libetpan/README7
-rw-r--r--libraries/libetpan/libetpan.SlackBuild52
-rw-r--r--libraries/libetpan/libetpan.info8
-rw-r--r--libraries/libetpan/slack-desc11
4 files changed, 78 insertions, 0 deletions
diff --git a/libraries/libetpan/README b/libraries/libetpan/README
new file mode 100644
index 0000000000000..dcb9abe0f0d0d
--- /dev/null
+++ b/libraries/libetpan/README
@@ -0,0 +1,7 @@
+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.
+
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild
new file mode 100644
index 0000000000000..0ee2d90e94d3c
--- /dev/null
+++ b/libraries/libetpan/libetpan.SlackBuild
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+# Slackware build script for libetpan
+# Written by Erik Hanson erik@slackbuilds.org
+
+PRGNAM=libetpan
+VERSION=0.49
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=`pwd`
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+find $PKG | 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
+cp -a COPYRIGHT ChangeLog INSTALL NEWS TODO doc/ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/libraries/libetpan/libetpan.info b/libraries/libetpan/libetpan.info
new file mode 100644
index 0000000000000..47bd82e2478a0
--- /dev/null
+++ b/libraries/libetpan/libetpan.info
@@ -0,0 +1,8 @@
+PRGNAM="libetpan"
+VERSION="0.49"
+HOMEPAGE="http://www.etpan.org/"
+DOWNLOAD="http://dl.sourceforge.net/libetpan/libetpan-0.49.tar.gz"
+MD5SUM="f6c973ea1aa53d947f034e093960da10"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="elohim,robw810"
diff --git a/libraries/libetpan/slack-desc b/libraries/libetpan/slack-desc
new file mode 100644
index 0000000000000..a1db69fd8fd48
--- /dev/null
+++ b/libraries/libetpan/slack-desc
@@ -0,0 +1,11 @@
+libetpan: libEtPan - A mail purpose library.
+libetpan:
+libetpan: The purpose of this mail library is to provide a portable, efficient
+libetpan: middleware for different kinds of mail access. When using the
+libetpan: drivers interface, the interface is the same for all kinds of mail
+libetpan: access, remote and local mailboxes.
+libetpan:
+libetpan: http://www.etpan.org/
+libetpan:
+libetpan:
+libetpan: