mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/xmms-status-plugin: Use system-provided libtool binary
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
5466904f4e
commit
3a43699fb6
2 changed files with 11 additions and 2 deletions
|
@ -1,2 +1,4 @@
|
|||
This is a general plugin for XMMS, that provides a status docklet for
|
||||
the application.
|
||||
|
||||
NOTE: This may not work properly in KDE.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for xmms-status-plugin
|
||||
|
||||
# Copyright 2012 Petar Petrov, ppetrov@paju.oulu.fi
|
||||
# Copyright 2012-2013 Petar Petrov, petar.petrov@student.oulu.fi
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=xmms-status-plugin
|
||||
VERSION=${VERSION:-1.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -69,6 +69,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Force the Makefile to use the installed version of libtool.
|
||||
# Thanks to Larry Hajali for the fix.
|
||||
sed -i 's|^LIBTOOL =.*|LIBTOOL = /usr/bin/libtool|' $(find . -iname "Makefile.*")
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -84,6 +88,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove the static library.
|
||||
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/xmms/General/libstatusdocklet.a
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
Loading…
Reference in a new issue