mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
multimedia/cuetools: Updated for version 1.3.1
This commit is contained in:
parent
06b515aac0
commit
a25fd4f6d3
4 changed files with 20 additions and 12 deletions
|
@ -1,2 +1,2 @@
|
|||
cuetools is a set of utilities for working with Cue Sheet (cue) and Table of
|
||||
Contents (toc) files.
|
||||
cuetools is a set of utilities for working with
|
||||
Cue Sheet (cue) and Table of Contents (toc) files.
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
# Written by grissiom chaos.proton@gmail.com
|
||||
|
||||
|
||||
PRGNAM=cuetools
|
||||
VERSION=${VERSION:-1.3.1}
|
||||
ARCH=${ARCH:-i486}
|
||||
|
@ -18,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
@ -43,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -52,8 +55,10 @@ make
|
|||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
|
@ -62,12 +67,13 @@ make install DESTDIR=$PKG
|
|||
)
|
||||
|
||||
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 INSTALL NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -3,6 +3,8 @@ VERSION="1.3.1"
|
|||
HOMEPAGE="http://developer.berlios.de/projects/cuetools/"
|
||||
DOWNLOAD="http://download.berlios.de/cuetools/cuetools-1.3.1.tar.gz"
|
||||
MD5SUM="45575f7a1bdc6615599fa6cb49845cca"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="grissiom"
|
||||
EMAIL="chaos.proton@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
cuetools: cuetools (cue and toc file parsers and utilities)
|
||||
cuetools:
|
||||
cuetools:
|
||||
cuetools: cuetools is a set of utilities for working with Cue Sheet (cue) and
|
||||
cuetools: Table of Contents (toc) files.
|
||||
cuetools:
|
||||
cuetools: Homepage:
|
||||
cuetools: http://developer.berlios.de/projects/cuetools/
|
||||
cuetools:
|
||||
cuetools: Homepage: http://developer.berlios.de/projects/cuetools/
|
||||
cuetools:
|
||||
cuetools:
|
||||
cuetools:
|
||||
cuetools:
|
||||
|
|
Loading…
Reference in a new issue