aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-12 06:44:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:28 -0500
commit8920c3cbc3c85125309a617a08703efb1df47748 (patch)
tree136aa9555ce6de9c8ee82b7d9fafe8ff586858c4 /libraries
parent6e28b4438c46cee8d67d923046786ffd04116b8f (diff)
libraries/podofo: Updated for version 0.8.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/podofo/podofo.SlackBuild21
-rw-r--r--libraries/podofo/podofo.info6
-rw-r--r--libraries/podofo/slack-desc10
3 files changed, 22 insertions, 15 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index 2f107e6bbaa9..f19cfe906c08 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -5,9 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=podofo
-VERSION=${VERSION:-0.7.0}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+VERSION="0.8.0"
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -15,8 +14,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# I changed the default LIBDIRSUFFIX to TRUE/FALSE because
-# cmake chooses it for us with -DWANT_LIB64:BOOL.
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -27,6 +31,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="TRUE"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX="FALSE"
fi
set -e
@@ -56,7 +63,7 @@ mkdir build && cd build
-DWANT_LIB64:BOOL=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make VERBOSE=1
make install DESTDIR=$PKG
cd -
@@ -65,7 +72,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog CODING* COPYING* FAQ* INSTALL README* TODO \
+ AUTHORS ChangeLog CODING* CONTRIBUTIONS* COPYING* FAQ* INSTALL README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/podofo/podofo.info b/libraries/podofo/podofo.info
index d0e52322d50d..e1019280cc0d 100644
--- a/libraries/podofo/podofo.info
+++ b/libraries/podofo/podofo.info
@@ -1,8 +1,8 @@
PRGNAM="podofo"
-VERSION="0.7.0"
+VERSION="0.8.0"
HOMEPAGE="http://podofo.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.7.0.tar.gz"
-MD5SUM="b9623fd9279fca49f7cdd5c1fed182b1"
+DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.8.0.tar.gz"
+MD5SUM="b73b4f2f3525a2dcd632f5e0054cab63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
diff --git a/libraries/podofo/slack-desc b/libraries/podofo/slack-desc
index 48b000756dd2..ab0766b3109d 100644
--- a/libraries/podofo/slack-desc
+++ b/libraries/podofo/slack-desc
@@ -6,13 +6,13 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-podofo: PoDoFo (Is a library to work with the PDF file format)
+podofo: PoDoFo (a library to work with the PDF file format)
podofo:
podofo: The name comes from the first letter of PDF (Portable Document Format)
-podofo: The PoDoFo library is a free, portable C++ library which includes
-podofo: classes to parse PDF files and modify their contents into memory
-podofo: The parser can also be used to extract information from a PDF file
-podofo: (for example the parser could be used in a PDF viewer).
+podofo: The PoDoFo library is a free, portable C++ library which includes
+podofo: classes to parse PDF files and modify their contents into memory
+podofo: The parser can also be used to extract information from a PDF file
+podofo: (for example, the parser could be used in a PDF viewer).
podofo:
podofo: Homepage: http://podofo.sourceforge.net/
podofo: