diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-04 16:40:58 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-04 22:09:02 -0600 |
commit | fe60eb7cae0c7293f40746a61d5aa74bb862ed84 (patch) | |
tree | 8cab0f19e5bac16a7e897d360bcdaab02694460f /audio/musepack-tools | |
parent | ab0babd646b77a855bbdd9fbacc94775490e5929 (diff) |
audio/musepack-tools: Updated for version r475.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/musepack-tools')
-rw-r--r-- | audio/musepack-tools/musepack-tools.SlackBuild | 34 | ||||
-rw-r--r-- | audio/musepack-tools/musepack-tools.info | 6 |
2 files changed, 20 insertions, 20 deletions
diff --git a/audio/musepack-tools/musepack-tools.SlackBuild b/audio/musepack-tools/musepack-tools.SlackBuild index 684555c815683..f95c8b801c878 100644 --- a/audio/musepack-tools/musepack-tools.SlackBuild +++ b/audio/musepack-tools/musepack-tools.SlackBuild @@ -5,16 +5,14 @@ PRGNAM=musepack-tools SRCNAM=musepack_src -VERSION=${VERSION:-r435} +VERSION=${VERSION:-r475} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -47,23 +45,22 @@ rm -rf $SRCNAM\_$VERSION tar xzvf $CWD/$SRCNAM\_$VERSION.tar.gz cd $SRCNAM\_$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# too much pain to use CMake -autoreconf -vif -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -71,6 +68,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# Remove the svn-related files +rm -Rf $PKG/usr/include/mpc/.svn + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/audio/musepack-tools/musepack-tools.info b/audio/musepack-tools/musepack-tools.info index 04c5c37a5884f..8ac8ca49ca4da 100644 --- a/audio/musepack-tools/musepack-tools.info +++ b/audio/musepack-tools/musepack-tools.info @@ -1,8 +1,8 @@ PRGNAM="musepack-tools" -VERSION="r435" +VERSION="r475" HOMEPAGE="http://www.musepack.net/" -DOWNLOAD="http://files.musepack.net/source/musepack_src_r435.tar.gz" -MD5SUM="0e858972978fe480fd1400b7331061de" +DOWNLOAD="http://files.musepack.net/source/musepack_src_r475.tar.gz" +MD5SUM="754d67be67f713e54baf70fcfdb2817e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libcuefile libreplaygain" |