mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libetpan: Initial import
This commit is contained in:
parent
3037531ba2
commit
e4c442f594
4 changed files with 78 additions and 0 deletions
7
libraries/libetpan/README
Normal file
7
libraries/libetpan/README
Normal file
|
@ -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.
|
||||
|
52
libraries/libetpan/libetpan.SlackBuild
Normal file
52
libraries/libetpan/libetpan.SlackBuild
Normal file
|
@ -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
|
8
libraries/libetpan/libetpan.info
Normal file
8
libraries/libetpan/libetpan.info
Normal file
|
@ -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"
|
11
libraries/libetpan/slack-desc
Normal file
11
libraries/libetpan/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue