diff options
Diffstat (limited to 'source/l/poppler')
-rwxr-xr-x | source/l/poppler/poppler.SlackBuild | 9 | ||||
-rw-r--r-- | source/l/poppler/slack-desc | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source/l/poppler/poppler.SlackBuild b/source/l/poppler/poppler.SlackBuild index af12f9fa3..7fbf53f5d 100755 --- a/source/l/poppler/poppler.SlackBuild +++ b/source/l/poppler/poppler.SlackBuild @@ -28,7 +28,7 @@ BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -37,8 +37,8 @@ fi NUMJOBS=${NUMJOBS:-" -j7 "} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" @@ -85,6 +85,9 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Remove files that overlap with the xpdf package: +rm -f $PKG/usr/bin/pdfdetach $PKG/usr/man/man1/pdfdetach.1 + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null diff --git a/source/l/poppler/slack-desc b/source/l/poppler/slack-desc index 9d5891d8a..c32595646 100644 --- a/source/l/poppler/slack-desc +++ b/source/l/poppler/slack-desc @@ -14,6 +14,6 @@ poppler: library, whenever a flaw was found potentially dozens of applications poppler: incorporating code from xpdf would have to be patched. By providing poppler: a centralized PDF library this duplicated effort will be eliminated. poppler: -poppler: +poppler: Homepage: http://poppler.freedesktop.org poppler: poppler: |