summaryrefslogtreecommitdiffstats
path: root/network/mpop/mpop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mpop/mpop.SlackBuild')
-rw-r--r--network/mpop/mpop.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/network/mpop/mpop.SlackBuild b/network/mpop/mpop.SlackBuild
index 3d3b71a724..a0522fd4e3 100644
--- a/network/mpop/mpop.SlackBuild
+++ b/network/mpop/mpop.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mpop
-# Copyright 2014 Marek Buras Silesia,Poland
+# Copyright spaceman
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mpop
-VERSION=${VERSION:-1.2.6}
+VERSION=${VERSION:-1.4.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,8 +70,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xf $CWD/$PRGNAM-$VERSION.tar.xz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -88,25 +88,25 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
- --with-libgsasl \
+ --disable-rpath \
--build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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*
+gzip -n $PKG/usr/info/*.info*
mkdir -p $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 \
+cp -a 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