summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/streamripper/README5
-rw-r--r--multimedia/streamripper/slack-desc8
-rw-r--r--multimedia/streamripper/streamripper.SlackBuild25
-rw-r--r--multimedia/streamripper/streamripper.info8
4 files changed, 32 insertions, 14 deletions
diff --git a/multimedia/streamripper/README b/multimedia/streamripper/README
index b45d52fcc1..aec3d2df31 100644
--- a/multimedia/streamripper/README
+++ b/multimedia/streamripper/README
@@ -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.
diff --git a/multimedia/streamripper/slack-desc b/multimedia/streamripper/slack-desc
index eedb0498b8..bc9b1d0231 100644
--- a/multimedia/streamripper/slack-desc
+++ b/multimedia/streamripper/slack-desc
@@ -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.
diff --git a/multimedia/streamripper/streamripper.SlackBuild b/multimedia/streamripper/streamripper.SlackBuild
index 531a2eb38b..0a76f4d31e 100644
--- a/multimedia/streamripper/streamripper.SlackBuild
+++ b/multimedia/streamripper/streamripper.SlackBuild
@@ -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
diff --git a/multimedia/streamripper/streamripper.info b/multimedia/streamripper/streamripper.info
index cbb3b3260c..f5d1907bfe 100644
--- a/multimedia/streamripper/streamripper.info
+++ b/multimedia/streamripper/streamripper.info
@@ -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"