diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-17 18:57:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-17 18:57:48 +0700 |
commit | f0b573db08c9085ec2d604239f2a2ebc71be0b19 (patch) | |
tree | aef4aaa8186b3c63a92a6c23f5fecd7c58a0561b /libraries/libpgf/libpgf.SlackBuild | |
parent | 637d891689e86c7b4e0c064eecd883458a72ef64 (diff) | |
download | slackbuilds-f0b573db08c9085ec2d604239f2a2ebc71be0b19.tar.gz |
libraries/libpgf: Updated for version 7.15.32.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libpgf/libpgf.SlackBuild')
-rw-r--r-- | libraries/libpgf/libpgf.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
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 <willysr@slackbuilds.org> +# Copyright 2012-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # 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 |