diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-06-14 00:50:37 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-14 03:18:18 -0500 |
commit | eece87f92914696f281cc267221129821941f886 (patch) | |
tree | e6911bfb61ee86dcce24cbcadca7bc813cd017b6 /libraries/pypoppler/pypoppler.SlackBuild | |
parent | 532ad0067e65df7115100e5bbf0311eae90df058 (diff) | |
download | slackbuilds-eece87f92914696f281cc267221129821941f886.tar.gz |
libraries/pypoppler: Updated for version 0.12.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/pypoppler/pypoppler.SlackBuild')
-rw-r--r-- | libraries/pypoppler/pypoppler.SlackBuild | 10 |
1 files changed, 4 insertions, 6 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 |