summaryrefslogtreecommitdiff
path: root/audio/mp3splt/mp3splt.SlackBuild
diff options
context:
space:
mode:
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 9a4533cc6c..0680c86d01 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