From 47a3f59a460fcfcf2d1ef26fcb39a9c54ca2eea7 Mon Sep 17 00:00:00 2001 From: Glenn Becker Date: Mon, 23 Jun 2014 01:16:24 +0700 Subject: [PATCH] libraries/jbigkit: Updated for version 2.1. Signed-off-by: Willy Sudiarto Raharjo --- libraries/jbigkit/jbigkit.SlackBuild | 8 ++++---- libraries/jbigkit/jbigkit.info | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild index af53885516..9b76643d99 100644 --- a/libraries/jbigkit/jbigkit.SlackBuild +++ b/libraries/jbigkit/jbigkit.SlackBuild @@ -4,7 +4,7 @@ # Written by Iskar Enev PRGNAM=jbigkit -VERSION=2.0 +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,11 +42,11 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM +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 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; @@ -62,7 +62,7 @@ cd - # ... and all the rest make CCFLAGS="$SLKCFLAGS" -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 # There is no "install" target in the Makefile... diff --git a/libraries/jbigkit/jbigkit.info b/libraries/jbigkit/jbigkit.info index aa1d1a0526..c6d6ef41c7 100644 --- a/libraries/jbigkit/jbigkit.info +++ b/libraries/jbigkit/jbigkit.info @@ -1,10 +1,10 @@ PRGNAM="jbigkit" -VERSION="2.0" +VERSION="2.1" HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/" -DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz" -MD5SUM="3dd87f605abb1a97a22dc79d8b3e8f6c" +DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/jbigkit/download/jbigkit-2.1.tar.gz" +MD5SUM="ebcf09bed9f14d7fa188d3bd57349522" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Glenn Becker" -EMAIL="burningc@sdf.lonestar.org" +EMAIL="burningc@sdf.org"