summaryrefslogtreecommitdiff
path: root/libraries/libmp3splt/libmp3splt.SlackBuild
diff options
context:
space:
mode:
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 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