aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3splt/mp3splt.SlackBuild
diff options
context:
space:
mode:
authorB Watson <yalhcru@gmail.com>2014-08-23 18:29:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:19:17 +0700
commita761b9a0cb8e9d7126499162b3d8c33df61daefd (patch)
tree7641b349f37c047e1fa1fa57c257b347bb083b7c /audio/mp3splt/mp3splt.SlackBuild
parentf67de152d882dbbe7f63c551508eff4e5aac26f2 (diff)
audio/mp3splt: Updated for version 2.6.1a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mp3splt/mp3splt.SlackBuild')
-rw-r--r--audio/mp3splt/mp3splt.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/mp3splt/mp3splt.SlackBuild b/audio/mp3splt/mp3splt.SlackBuild
index 9a4533cc6c9ec..0680c86d01e15 100644
--- a/audio/mp3splt/mp3splt.SlackBuild
+++ b/audio/mp3splt/mp3splt.SlackBuild
@@ -23,8 +23,13 @@
# 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 v2.6.1a
+# - Get rid of empty TODO and redundant INSTALL from /usr/doc.
+# - Use make install-strip instead of find/xargs/strip
+
PRGNAM=mp3splt
-VERSION=${VERSION:-2.6}
+VERSION=${VERSION:-2.6.1a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,16 +86,12 @@ 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
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install