summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-12-09 15:29:30 +0100
committer Eric Hameleers <alien@slackware.com>2018-12-09 15:29:30 +0100
commit80fac0aceb0b778938a14224faeb2172d3d946bc (patch)
tree2b1ea07e2c8ef77440f577aee8123d2049713d31 /deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild
parent044a706cdff5a0a8f8dc02b9be084cd196dbcfca (diff)
downloadktown-80fac0aceb0b778938a14224faeb2172d3d946bc.tar.gz
ktown-80fac0aceb0b778938a14224faeb2172d3d946bc.tar.xz
Rebuild all deps/telepathy packages
Diffstat (limited to 'deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild')
-rwxr-xr-xdeps/telepathy/telepathy-logger/telepathy-logger.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild b/deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild
index 013b627..6492d55 100755
--- a/deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild
+++ b/deps/telepathy/telepathy-logger/telepathy-logger.SlackBuild
@@ -21,14 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified 2015, 2016, 2017 by Eric Hameleers <alien@slackware.com>
+# Modified 2015, 2016, 2017, 2018 by Eric Hameleers <alien@slackware.com>
PKGNAM=telepathy-logger
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -93,6 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null