aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmp3splt/libmp3splt.SlackBuild
diff options
context:
space:
mode:
authorB Watson <yalhcru@gmail.com>2014-08-23 18:28:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:19:16 +0700
commitf67de152d882dbbe7f63c551508eff4e5aac26f2 (patch)
tree8694cff5685e1fbcb78733f341e2cb49c546c670 /libraries/libmp3splt/libmp3splt.SlackBuild
parent89e1fd3dd9b3b9e3ee295248c0dd7121074ddeb2 (diff)
libraries/libmp3splt: Updated for version 0.9.1a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmp3splt/libmp3splt.SlackBuild')
-rw-r--r--libraries/libmp3splt/libmp3splt.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild
index 3a4e3517c1ccf..a3cc829546eb2 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