From f67de152d882dbbe7f63c551508eff4e5aac26f2 Mon Sep 17 00:00:00 2001 From: B Watson Date: Sat, 23 Aug 2014 18:28:11 +0700 Subject: libraries/libmp3splt: Updated for version 0.9.1a. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libmp3splt/libmp3splt.SlackBuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'libraries/libmp3splt/libmp3splt.SlackBuild') diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild index 3a4e3517c1..a3cc829546 100644 --- a/libraries/libmp3splt/libmp3splt.SlackBuild +++ b/libraries/libmp3splt/libmp3splt.SlackBuild @@ -22,8 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20140819 bkw: +# - Updated for 0.9.1a +# - Include doc/examples in package +# - Get rid of a couple useless doc files +# - Use make install-strip insteaad of find/xargs/strip + PRGNAM=libmp3splt -VERSION=${VERSION:-0.9.0} +VERSION=${VERSION:-0.9.1a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,13 +85,11 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 +make install-strip DESTDIR=$PKG +# leave off TODO, it's 0 bytes. also INSTALL is irrelevant. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \ +cp -a AUTHORS ChangeLog COPYING LIMITS NEWS README doc/examples \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3