summaryrefslogtreecommitdiff
path: root/libraries/libpgf
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 18:57:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 18:57:48 +0700
commitf0b573db08c9085ec2d604239f2a2ebc71be0b19 (patch)
treeaef4aaa8186b3c63a92a6c23f5fecd7c58a0561b /libraries/libpgf
parent637d891689e86c7b4e0c064eecd883458a72ef64 (diff)
downloadslackbuilds-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')
-rw-r--r--libraries/libpgf/libpgf.SlackBuild16
-rw-r--r--libraries/libpgf/libpgf.info6
2 files changed, 11 insertions, 11 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
diff --git a/libraries/libpgf/libpgf.info b/libraries/libpgf/libpgf.info
index a336b4da24..681b90253b 100644
--- a/libraries/libpgf/libpgf.info
+++ b/libraries/libpgf/libpgf.info
@@ -1,8 +1,8 @@
PRGNAM="libpgf"
-VERSION="6.14.12"
+VERSION="7.15.32"
HOMEPAGE="http://www.libpgf.org"
-DOWNLOAD="http://sourceforge.net/projects/libpgf/files/libpgf/6.14.12/libpgf-src-6.14.12.tar.gz"
-MD5SUM="a2b13832e23ad9026bd249d57b6c26da"
+DOWNLOAD="https://sourceforge.net/projects/libpgf/files/libpgf/7.15.32-latest/libPGF-codec-and-console-src.zip"
+MD5SUM="e0a35f768462a35060197c9d24bb07ff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""