summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/clearsilver/clearsilver.SlackBuild6
1 files changed, 5 insertions, 1 deletions
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