aboutsummaryrefslogtreecommitdiff
path: root/academic/glpk
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2022-03-05 20:44:59 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 11:43:34 +0700
commitdf7fc8a87cb2abb8bc824baa41d5c8ac82ba11fb (patch)
tree98f7dfe1afc1cf0bd2b4938be9f582f5244d64aa /academic/glpk
parent3f4e07dc66c60588fd42278649419b3f0b8e4898 (diff)
academic/glpk: Don't ship *.la files.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/glpk')
-rw-r--r--academic/glpk/glpk.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild
index 8d67f2a0d201..778d3efcf482 100644
--- a/academic/glpk/glpk.SlackBuild
+++ b/academic/glpk/glpk.SlackBuild
@@ -96,6 +96,9 @@ LDFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS doc examples \
$PKG/usr/doc/$PRGNAM-$VERSION