network/mpop: Updated for version 1.0.18

This commit is contained in:
Marek Buras 2010-05-13 00:37:21 +02:00 committed by David Somero
parent f51a7a5260
commit bb917a2366
3 changed files with 27 additions and 10 deletions

View File

@ -8,7 +8,7 @@
PRGNAM=mpop PRGNAM=mpop
VERSION=${VERSION:-1.0.13} VERSION=${VERSION:-1.0.18}
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -20,10 +20,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -e set -e
@ -45,17 +48,21 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--infodir=/usr/info \ --infodir=/usr/info \
--mandir=/usr/man --mandir=/usr/man \
--build=$ARCH-slackware-linux
make || exit 1 make || exit 1
make install-strip DESTDIR=$PKG || exit 1 make install-strip DESTDIR=$PKG || exit 1
( cd $PKG ( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
) )
( cd $PKG/usr/man ( cd $PKG/usr/man
@ -66,13 +73,14 @@ make install-strip DESTDIR=$PKG || exit 1
rm -f $PKG/usr/info/dir rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info* gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README \ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README \
THANKS doc/mpoprc.example $PKG/usr/doc/$PRGNAM-$VERSION THANKS doc/mpoprc.example $PKG/usr/doc/$PRGNAM-$VERSION
cp scripts/vim/README scripts/vim/mpop.vim $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,8 +1,10 @@
PRGNAM="mpop" PRGNAM="mpop"
VERSION="1.0.13" VERSION="1.0.18"
HOMEPAGE="http://mpop.sourceforge.net/" HOMEPAGE="http://mpop.sourceforge.net/"
DOWNLOAD="http://download.sourceforge.net/mpop/mpop-1.0.13.tar.bz2" DOWNLOAD="http://download.sourceforge.net/mpop/mpop-1.0.18.tar.bz2"
MD5SUM="16453292805613078e48bd0b1aa8b657" DOWNLOAD_x86_64=""
MD5SUM="d4771ffa4d7f12e40f6311df1040638d"
MD5SUM_x86_64=""
MAINTAINER="Marek Buras" MAINTAINER="Marek Buras"
EMAIL="cyfr0n@go2.pl" EMAIL="cyfr0n@go2.pl"
APPROVED="Erik Hanson" APPROVED="dsomero"

View File

@ -1,3 +1,10 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
mpop: mpop (POP3 client) mpop: mpop (POP3 client)
mpop: mpop: