summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Larry Hajali2010-06-14 07:50:37 +0200
committer Robby Workman2010-06-14 10:18:18 +0200
commiteece87f92914696f281cc267221129821941f886 (patch)
treee6911bfb61ee86dcce24cbcadca7bc813cd017b6
parent532ad0067e65df7115100e5bbf0311eae90df058 (diff)
downloadslackbuilds-eece87f92914696f281cc267221129821941f886.tar.gz
libraries/pypoppler: Updated for version 0.12.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--libraries/pypoppler/pypoppler.SlackBuild10
-rw-r--r--libraries/pypoppler/pypoppler.info6
2 files changed, 7 insertions, 9 deletions
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 <larryhaja[at]gmail[dot]com>
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
diff --git a/libraries/pypoppler/pypoppler.info b/libraries/pypoppler/pypoppler.info
index 32b4632664..c38ebc8cf0 100644
--- a/libraries/pypoppler/pypoppler.info
+++ b/libraries/pypoppler/pypoppler.info
@@ -1,8 +1,8 @@
PRGNAM="pypoppler"
-VERSION="0.10.1"
+VERSION="0.12.1"
HOMEPAGE="https://launchpad.net/poppler-python"
-DOWNLOAD="http://launchpad.net/poppler-python/trunk/development/+download/pypoppler-0.10.1.tar.gz"
-MD5SUM="146ecb7e1049dd9b92478d61c148829e"
+DOWNLOAD="http://launchpad.net/poppler-python/trunk/development/+download/pypoppler-0.12.1.tar.gz"
+MD5SUM="1a89e5ed3042afc81bbd4d02e0cf640a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"