summaryrefslogtreecommitdiff
path: root/libraries/pypoppler
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pypoppler')
-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"