libraries/liboop: Remove .la files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2022-02-10 09:19:02 +07:00 committed by Willy Sudiarto Raharjo
parent b8370deb30
commit 04fbe6a678
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ make install DESTDIR=$PKG
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
) )
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild