From a9afe22b6a8e985d3d69d170bf3c8d00e182e6a7 Mon Sep 17 00:00:00 2001 From: Lyle Sigurdson Date: Tue, 11 May 2010 22:23:29 +0200 Subject: [PATCH] libraries/clearsilver: Updated for version 0.10.5 --- libraries/clearsilver/clearsilver.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/clearsilver/clearsilver.SlackBuild b/libraries/clearsilver/clearsilver.SlackBuild index fed48fa8ed..c75beec2ca 100644 --- a/libraries/clearsilver/clearsilver.SlackBuild +++ b/libraries/clearsilver/clearsilver.SlackBuild @@ -14,6 +14,7 @@ VERSION=0.10.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -44,7 +45,7 @@ CFLAGS="$SLKCFLAGS" \ --with-python=/usr/bin/python make -make install DESTDIR=$PKG +make INSTALLDIRS=vendor install DESTDIR=$PKG # Let's build the libneo shared object anyway, even though we've disabled C# # This is useful to have around for some other applications @@ -61,6 +62,9 @@ cd - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) +mv $PKG/usr/share/man/man3/* $PKG/usr/man/man3/ +rm -rf $PKG/usr/share + ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done