libraries/clearsilver: Updated for version 0.10.5

This commit is contained in:
Lyle Sigurdson 2010-05-11 22:23:29 +02:00 committed by Robby Workman
parent b176e165a6
commit a9afe22b6a

View file

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