network/mpop: Updated for version 1.2.6.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Marek Buras 2017-11-11 00:13:07 -06:00 committed by Willy Sudiarto Raharjo
parent a2fb6b3a43
commit aef2baa8e1
2 changed files with 13 additions and 14 deletions

View File

@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpop
VERSION=${VERSION:-1.2.5}
VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -87,18 +87,17 @@ make install-strip DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README \
THANKS doc/mpoprc.example $PKG/usr/doc/$PRGNAM-$VERSION
cp scripts/vim/README scripts/vim/mpop.vim $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cp -a AUTHORS COPYING ChangeLog NEWS NOTES README THANKS doc/mpoprc.example \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a scripts/vim/README -a scripts/vim/mpop.vim \
$PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="mpop"
VERSION="1.2.5"
VERSION="1.2.6"
HOMEPAGE="http://mpop.sourceforge.net/"
DOWNLOAD="http://download.sourceforge.net/mpop/mpop-1.2.5.tar.xz"
MD5SUM="698654c7dd76047933c3f1f4caa0cdfb"
DOWNLOAD="http://download.sourceforge.net/mpop/mpop-1.2.6.tar.xz"
MD5SUM="2298ddcf1defbf8e7097a1869c8d39d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgsasl"