diff options
author | B. Watson <yalhcru@gmail.com> | 2018-09-17 14:24:55 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-21 23:52:42 +0100 |
commit | 0195c18f460e235cf4d140f7a256d9a3477f1d2d (patch) | |
tree | 4bc90c04c7013ff3b9da05f194e0bc36bb972ba7 /libraries/libpst/libpst.SlackBuild | |
parent | 7a7f6af4b834a572c01a4625d7a4d9160af2554e (diff) | |
download | slackbuilds-0195c18f460e235cf4d140f7a256d9a3477f1d2d.tar.gz |
libraries/libpst: Updated for version 0.6.72.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libpst/libpst.SlackBuild')
-rw-r--r-- | libraries/libpst/libpst.SlackBuild | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild index 25a408885a..1fa5bfa36c 100644 --- a/libraries/libpst/libpst.SlackBuild +++ b/libraries/libpst/libpst.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20180917 bkw: upgrade to 0.6.72 + # 20170122 bkw: # - upgrade to 0.6.69 @@ -41,7 +43,7 @@ # - make install-strip instead of slow find stuff PRGNAM=libpst -VERSION=${VERSION:-0.6.69} +VERSION=${VERSION:-0.6.72} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,11 +83,17 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# 20180917 bkw: libpst supposedly supports python3 now, but python3 +# builds fail. Not tried to diagnose it, just reverting to python2, +# like previous versions of libpst used. +# ./configure --help claims that I can set PYTHON_VERSION in the environment +# and it'll use that, but it doesn't work. So I have to use this abomination: +sed -i 's,\<python3\..\>,,g' m4/ax_python.m4 + +autoreconf -if CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -106,8 +114,7 @@ make install-strip DESTDIR=$PKG \ htmldir=/usr/doc/$PRGNAM-$VERSION \ htmldeveldir=/usr/doc/$PRGNAM-$VERSION/devel -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 +gzip -9 $PKG/usr/man/man?/*.? # Package documentation has aready been copied # into $PKG/usr/doc/$PRGNAM-$VERSION by "make install" |