aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-14 11:55:44 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:18:48 +0700
commit36ca95d826bd4c05f16db77783ad3edb091c609b (patch)
tree24be4c98de2e3df562cec3ed151082ab00bb02f2
parent9068ef92f4e236b6c6f6002e08aa1799bdb13796 (diff)
system/nut: Remove .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/nut/nut.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild
index 2bfb6ce88de7..beeed2f68ca7 100644
--- a/system/nut/nut.SlackBuild
+++ b/system/nut/nut.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nut
VERSION=${VERSION:-2.7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -153,6 +153,8 @@ rm $PKG/usr/doc/$PRGNAM-$VERSION/docs/Makefile*
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh