diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libetpan/README | 7 | ||||
-rw-r--r-- | libraries/libetpan/libetpan.SlackBuild | 52 | ||||
-rw-r--r-- | libraries/libetpan/libetpan.info | 8 | ||||
-rw-r--r-- | libraries/libetpan/slack-desc | 11 |
4 files changed, 78 insertions, 0 deletions
diff --git a/libraries/libetpan/README b/libraries/libetpan/README new file mode 100644 index 0000000000..dcb9abe0f0 --- /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 0000000000..0ee2d90e94 --- /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 0000000000..47bd82e247 --- /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 0000000000..a1db69fd8f --- /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: |