multimedia/streamripper: Updated for version 1.62.3

This commit is contained in:
Frank Caraballo 2010-05-11 19:45:44 +02:00 committed by David Somero
parent 9e226110b5
commit 0a30b27c34
4 changed files with 32 additions and 14 deletions

View File

@ -4,3 +4,8 @@ beginning and end of each song, and stores the songs on your
hard disk as individual mp3 files. In addition, Streamripper
includes a relay server for listening to the station while
you are recording.
tre (also available at http://www.slackbuilds.org/) is
required to build this package. However, Streamripper will
use an included tre library if you add --with-included-tre
to the ./configure section of the SlackBuild.

View File

@ -1,3 +1,11 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
streamripper: Streamripper (Rip SHOUTcast Radio Streams to MP3 Files)
streamripper:
streamripper: Streamripper records SHOUTcast and Icecast compatible streams.

View File

@ -2,7 +2,7 @@
# Slackware build script for Streamripper
# Copyright 2007 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,20 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
# No additional license terms added
PRGNAM=streamripper
VERSION=1.62.1
VERSION=1.62.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
PDOCS="CHANGES COPYING INSTALL README THANKS"
DOCS="CHANGES COPYING INSTALL README THANKS"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -47,10 +45,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
find . \
\( -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 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@ -58,11 +61,12 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--with-included-tre \
--program-prefix="" \
--program-suffix="" \
|| exit 1
# --with-included-tre \ # Use the TRE library included with Streamripper
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
@ -72,8 +76,9 @@ make install-strip DESTDIR=$PKG || exit 1
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,8 +1,8 @@
PRGNAM="streamripper"
VERSION="1.62.1"
VERSION="1.62.3"
HOMEPAGE="http://streamripper.sourceforge.net/"
DOWNLOAD="http://dl.sourceforge.net/streamripper/streamripper-1.62.1.tar.gz"
MD5SUM="c8c84b8acf84f3d431bf7b6303acc63b"
DOWNLOAD="http://downloads.sourceforge.net/streamripper/streamripper-1.62.3.tar.gz"
MD5SUM="127eb52355d0d10183ee22c44b5a9039"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="rworkman"
APPROVED="David Somero"