summaryrefslogtreecommitdiff
path: root/libraries/podofo/podofo.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-01-30 22:34:41 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-01-30 22:34:41 -0600
commit9edb1e4ca84e0b176b3a4b841a26ed97dc38513e (patch)
tree5f1f52f2c9b88558a8e3ff0af627261335860b30 /libraries/podofo/podofo.SlackBuild
parentea78f545e9cd25e5d8fc1977df25e68e34565c7c (diff)
downloadslackbuilds-9edb1e4ca84e0b176b3a4b841a26ed97dc38513e.tar.gz
libraries/podofo: Updated for version 0.9.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/podofo/podofo.SlackBuild')
-rw-r--r--libraries/podofo/podofo.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index b4651ada9f..740f6ea597 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=podofo
-VERSION=0.8.4
+VERSION=0.9.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix mandir directory.
+sed -i 's|share/man|man|' CMakeLists.txt
+
mkdir build
cd build
cmake -G "Unix Makefiles" \
@@ -71,6 +74,8 @@ cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog CODING* CONTRIBUTIONS* COPYING* FAQ* INSTALL README* TODO \