mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
libraries/libetpan: Updated for version 0.57
This commit is contained in:
parent
2b06459016
commit
fb43a7df84
3 changed files with 21 additions and 25 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
--localstatedir=/var/lib \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
||||
( 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue