From f0b573db08c9085ec2d604239f2a2ebc71be0b19 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 17 Apr 2017 18:57:48 +0700 Subject: libraries/libpgf: Updated for version 7.15.32. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libpgf/libpgf.SlackBuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libraries/libpgf/libpgf.SlackBuild') diff --git a/libraries/libpgf/libpgf.SlackBuild b/libraries/libpgf/libpgf.SlackBuild index 4d4ce30ab4..3ef7836902 100644 --- a/libraries/libpgf/libpgf.SlackBuild +++ b/libraries/libpgf/libpgf.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2012-2014 Willy Sudiarto Raharjo +# Copyright 2012-2017 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,8 +21,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libpgf -VERSION=${VERSION:-6.14.12} -BUILD=${BUILD:-2} +SRCNAM=libPGF-codec-and-console-src +VERSION=${VERSION:-7.15.32} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,9 +58,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-src-$VERSION.tar.gz -cd $PRGNAM +rm -rf PGF +unzip $CWD/$SRCNAM.zip +cd PGF/Codec chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,7 +70,7 @@ find -L . \ fromdos < configure.ac > configure.ac.new mv configure.ac.new configure.ac -./autogen.sh +sh ./autogen.sh CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -84,7 +85,6 @@ make install DESTDIR=$PKG 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 -mv $PKG/usr/share/man $PKG/usr/man 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 -- cgit v1.2.3