vala: Remove .la files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2018-04-20 20:09:27 +07:00
parent 7da0d626e2
commit 28574eba53
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -26,7 +26,7 @@
PRGNAM=vala PRGNAM=vala
VERSION=${VERSION:-0.40.4} VERSION=${VERSION:-0.40.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_csb} TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -85,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done