diff options
author | ArTourter <artourter@gmail.com> | 2012-12-16 17:43:18 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:27 -0500 |
commit | 1f6ec679088392f5ebb942f7b546ef7158f5b32f (patch) | |
tree | 783f89eff4c64f040db7b5521438114d73ebf19d /multimedia/cuetools/cuetools.SlackBuild | |
parent | 2b2633a4793d23122d7eae54f3b6a83bad32791a (diff) | |
download | slackbuilds-1f6ec679088392f5ebb942f7b546ef7158f5b32f.tar.gz |
multimedia/cuetools: Include the cuetag script in extras.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/cuetools/cuetools.SlackBuild')
-rw-r--r-- | multimedia/cuetools/cuetools.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild index ef02b38b45..2f277380b3 100644 --- a/multimedia/cuetools/cuetools.SlackBuild +++ b/multimedia/cuetools/cuetools.SlackBuild @@ -18,7 +18,7 @@ PRGNAM=cuetools VERSION=${VERSION:-1.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -48,7 +48,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -63,6 +63,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patching the cuetag script in extras with patch from Archlinux +# Thanks to Gilcio Amaral-Martins <gilcio.amaral@gmail.com> for the suggestion +patch -Np0 < $CWD/cuetag.patch + sed -i -e 's/--import-vc-from/--import-tags-from/' \ + -e 's/--remove-vc-all/--remove-all-tags/' extras/cuetag.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -73,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --build=$ARCH-slackware-linux -make +make make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -82,6 +88,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +install -m755 extras/cuetag.sh $PKG/usr/bin/cuetag + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ |