summaryrefslogtreecommitdiffstats
path: root/system/xar/xar.SlackBuild
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2022-12-29 00:51:29 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:55 +0700
commit6aaa6a542ad879a3d877798189b182b23912d344 (patch)
tree4a23c3c993c41866512590a082eae9bdaa4802bb /system/xar/xar.SlackBuild
parente1e3ed3f71b24f4c2b5037d9511699008f109859 (diff)
downloadslackbuilds-6aaa6a542ad879a3d877798189b182b23912d344.tar.gz
slackbuilds-6aaa6a542ad879a3d877798189b182b23912d344.tar.xz
system/xar: Strip shared lib.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--system/xar/xar.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/system/xar/xar.SlackBuild b/system/xar/xar.SlackBuild
index c2879c6d63..ea3c626644 100644
--- a/system/xar/xar.SlackBuild
+++ b/system/xar/xar.SlackBuild
@@ -13,19 +13,26 @@
# bother me.
# The original google code project is dead, and so is mackyle's github
-# project. The Apple project might be deprecated, but it was last
-# updated in 2020, so it's at least not ancient history.
+# project. The Apple project might be deprecated, but it's still being
+# updated.
# For some reason, gentoo and other distros want to give this the
# version number "1.8.0.0.452". Dunno where the extra zeroes come
# from. "xar --version" reports "1.8dev", the tarball's version
# number is the SVN revision, 452...
+# 20221229 bkw: this is still being developed, code is at
+# https://github.com/apple-oss-distributions/xar/ but the latest tag
+# (494) won't compile, and I don't love this enough to spend time on
+# it right now. If it bothers you, fix it and send me a patch.
+
+# 20221229 bkw: BUILD=2, strip library (derp!)
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xar
VERSION=${VERSION:-1.8dev+452}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -107,6 +114,7 @@ make
make install DESTDIR=$PKG
gzip $PKG/usr/man/man?/*
rm -f $PKG/usr/lib*/*.la
+strip $PKG/usr/lib*/*.so*
cd -