cracklib: 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:17:32 +07:00
parent b4717d7dae
commit 95430225b4
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -32,7 +32,7 @@
PRGNAM=cracklib
VERSION=${VERSION:-2.9.6}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_csb}
DICT=${DICT:-cracklib-words-$VERSION}
@ -97,6 +97,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
# Install large cracklib dictionary file if it exists
if [ -e $CWD/${DICT}.gz ]; then
zcat $CWD/${DICT}.gz > $PKG/usr/share/cracklib/$PRGNAM-large