libraries/podofo: Updated for version 0.8.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-06-12 06:44:49 -05:00 committed by Robby Workman
parent 6e28b4438c
commit 8920c3cbc3
3 changed files with 22 additions and 15 deletions

View File

@ -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

View File

@ -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"

View File

@ -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: