summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/libnice/libnice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/libnice/libnice.SlackBuild')
-rwxr-xr-xdeps/telepathy/libnice/libnice.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/telepathy/libnice/libnice.SlackBuild b/deps/telepathy/libnice/libnice.SlackBuild
index e57175e..d8cbf09 100755
--- a/deps/telepathy/libnice/libnice.SlackBuild
+++ b/deps/telepathy/libnice/libnice.SlackBuild
@@ -23,13 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified 2015, 2017 by Eric Hameleers <alien@slackware.com>
+# Modified 2015, 2017, 2018 by Eric Hameleers <alien@slackware.com>
PKGNAM=libnice
VERSION=${VERSION:-0.1.14}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -98,6 +98,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