From eece87f92914696f281cc267221129821941f886 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Mon, 14 Jun 2010 00:50:37 -0500 Subject: libraries/pypoppler: Updated for version 0.12.1. Signed-off-by: Robby Workman --- libraries/pypoppler/pypoppler.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libraries/pypoppler/pypoppler.SlackBuild') diff --git a/libraries/pypoppler/pypoppler.SlackBuild b/libraries/pypoppler/pypoppler.SlackBuild index 893c5212c3..3daca31ae4 100644 --- a/libraries/pypoppler/pypoppler.SlackBuild +++ b/libraries/pypoppler/pypoppler.SlackBuild @@ -5,16 +5,14 @@ # Written by Larry Hajali PRGNAM=pypoppler -VERSION=${VERSION:-0.10.1} +VERSION=0.12.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -30,6 +28,9 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -56,9 +57,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# Remove poppler.la. -find $PKG -name "*.la" -exec rm -f {} \; - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3