aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrissiom <chaos.proton@gmail.com>2010-05-13 00:34:36 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:34:36 +0200
commita25fd4f6d38685804002f0efe9e33602732920fb (patch)
tree284ad201b3e0a04bde4f20cb380df658ebea72b3
parent06b515aac007cc1445f76bd0f3e0a8a367e32baf (diff)
multimedia/cuetools: Updated for version 1.3.1
-rw-r--r--multimedia/cuetools/README4
-rw-r--r--multimedia/cuetools/cuetools.SlackBuild18
-rw-r--r--multimedia/cuetools/cuetools.info2
-rw-r--r--multimedia/cuetools/slack-desc8
4 files changed, 20 insertions, 12 deletions
diff --git a/multimedia/cuetools/README b/multimedia/cuetools/README
index ef6b210131c5..4e88a90d9052 100644
--- a/multimedia/cuetools/README
+++ b/multimedia/cuetools/README
@@ -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.
diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild
index 6c5340cd7d8d..dc0f5a275ade 100644
--- a/multimedia/cuetools/cuetools.SlackBuild
+++ b/multimedia/cuetools/cuetools.SlackBuild
@@ -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}
diff --git a/multimedia/cuetools/cuetools.info b/multimedia/cuetools/cuetools.info
index 4f94b9d7b4fd..14847834a152 100644
--- a/multimedia/cuetools/cuetools.info
+++ b/multimedia/cuetools/cuetools.info
@@ -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"
diff --git a/multimedia/cuetools/slack-desc b/multimedia/cuetools/slack-desc
index 540bee094d00..a1103450c081 100644
--- a/multimedia/cuetools/slack-desc
+++ b/multimedia/cuetools/slack-desc
@@ -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: