aboutsummaryrefslogtreecommitdiff
path: root/darkice
diff options
context:
space:
mode:
Diffstat (limited to 'darkice')
-rw-r--r--darkice/darkice-0.17.1-x86_64.diff95
-rwxr-xr-xdarkice/darkice.SlackBuild123
-rw-r--r--darkice/slack-required3
3 files changed, 0 insertions, 221 deletions
diff --git a/darkice/darkice-0.17.1-x86_64.diff b/darkice/darkice-0.17.1-x86_64.diff
deleted file mode 100644
index 3b183ee0..00000000
--- a/darkice/darkice-0.17.1-x86_64.diff
+++ /dev/null
@@ -1,95 +0,0 @@
-diff -Naur darkice-0.17.1.orig/configure darkice-0.17.1/configure
---- darkice-0.17.1.orig/configure 2006-05-19 10:08:33.000000000 -0300
-+++ darkice-0.17.1/configure 2006-10-03 22:23:56.000000000 -0300
-@@ -879,23 +879,23 @@
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-lame use lame for encoding mp3 streams yes
- --with-lame-prefix=DIR alternate location for lame /usr
-- look for libraries in LAME-PREFIX/lib,
-+ look for libraries in LAME-PREFIX/lib64,
- for headers in LAME-PREFIX/include
- --with-vorbis use Ogg Vorbis for encoding vorbis streams yes
- --with-vorbis-prefix=DIR alternate location for vorbis /usr
-- look for libraries in VORBIS-PREFIX/lib,
-+ look for libraries in VORBIS-PREFIX/lib64,
- for headers in VORBIS-PREFIX/include
- --with-faac use faac for encoding AAC streams yes
- --with-faac-prefix=DIR alternate location for faac /usr
-- look for libraries in FAAC-PREFIX/lib,
-+ look for libraries in FAAC-PREFIX/lib64,
- for headers in FAAC-PREFIX/include
- --with-twolame use twolame for encoding MP2 streams yes
- --with-twolame-prefix=DIR alternate location for twolame /usr
-- look for libraries in TWOLAME-PREFIX/lib,
-+ look for libraries in TWOLAME-PREFIX/lib64,
- for headers in TWOLAME-PREFIX/include
- --with-alsa use ALSA sound system yes
- --with-alsa-prefix=DIR alternate location for ALSA /usr
-- look for libraries in ALSA-PREFIX/lib,
-+ look for libraries in ALSA-PREFIX/lib64,
- for headers in ALSA-PREFIX/include
- --with-jack use JACK audio server yes
- --with-debug enable debug mode no
-@@ -5975,7 +5975,7 @@
-
- LAME_LIB_LOC=
- for FILE in libmp3lame.a; do
-- for DIR in ${CONFIG_LAME_PREFIX} ${CONFIG_LAME_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_LAME_PREFIX} ${CONFIG_LAME_PREFIX}/lib64 ; do
- if test ".LAME_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- LAME_LIB_LOC=$DIR
- fi
-@@ -6046,7 +6046,7 @@
-
- OGG_LIB_LOC=
- for FILE in libogg.a; do
-- for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib64 ; do
- if test ".OGG_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- OGG_LIB_LOC=$DIR
- fi
-@@ -6072,7 +6072,7 @@
-
- VORBIS_LIB_LOC=
- for FILE in libvorbis.a; do
-- for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib64 ; do
- if test ".VORBIS_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- VORBIS_LIB_LOC=$DIR
- fi
-@@ -6098,7 +6098,7 @@
-
- VORBISENC_LIB_LOC=
- for FILE in libvorbisenc.a; do
-- for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_VORBIS_PREFIX} ${CONFIG_VORBIS_PREFIX}/lib64 ; do
- if test ".VORBISENC_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- VORBISENC_LIB_LOC=$DIR
- fi
-@@ -6173,7 +6173,7 @@
-
- FAAC_LIB_LOC=
- for FILE in libfaac.a; do
-- for DIR in ${CONFIG_FAAC_PREFIX} ${CONFIG_FAAC_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_FAAC_PREFIX} ${CONFIG_FAAC_PREFIX}/lib64 ; do
- if test ".FAAC_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- FAAC_LIB_LOC=$DIR
- fi
-@@ -6244,7 +6244,7 @@
-
- TWOLAME_LIB_LOC=
- for FILE in libtwolame.a; do
-- for DIR in ${CONFIG_TWOLAME_PREFIX} ${CONFIG_TWOLAME_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_TWOLAME_PREFIX} ${CONFIG_TWOLAME_PREFIX}/lib64 ; do
- if test ".TWOLAME_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- TWOLAME_LIB_LOC=$DIR
- fi
-@@ -6325,7 +6325,7 @@
-
- ALSA_LIB_LOC=
- for FILE in libasound.so; do
-- for DIR in ${CONFIG_ALSA_PREFIX} ${CONFIG_ALSA_PREFIX}/lib ; do
-+ for DIR in ${CONFIG_ALSA_PREFIX} ${CONFIG_ALSA_PREFIX}/lib64 ; do
- if test ".ALSA_LIB_LOC"="." && test -f "$DIR/$FILE"; then
- ALSA_LIB_LOC=$DIR
- fi
diff --git a/darkice/darkice.SlackBuild b/darkice/darkice.SlackBuild
deleted file mode 100755
index faa95896..00000000
--- a/darkice/darkice.SlackBuild
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/bin/bash
-#
-# slackbuild script for darkice
-# by rhatto at riseup.net
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building darkice are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="darkice"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=0.17.1}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- export LDFLAGS="-L/lib64 -L/usr/lib64"
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://easynews.dl.sourceforge.net/sourceforge/darkice/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-tar xvf$tarflag $SRC_DIR/$SRC
-cd $PACKAGE-$VERSION
-
-if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
- patch -p1 < $CWD/$PACKAGE-$VERSION.diff
-fi
-
-if [ "$ARCH" == "x86_64" ] && [ -f "$CWD/$PACKAGE-$VERSION-x86_64.diff" ]; then
- patch -p1 < $CWD/$PACKAGE-$VERSION-x86_64.diff
-fi
-
-./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR
-make || exit 32
-make DESTDIR=$TMP/package-$PACKAGE install
-
-CWD="`pwd`"
-
-cd $TMP/package-$PACKAGE
-
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir install
-cat << EOF > install/slack-desc
-# 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-----------------------------------------------------|
-darkice: darkice (an icecast and shoutcast streaming originator)
-darkice:
-darkice: DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer.
-darkice: It takes audio input from a sound card, encodes it into mp3 and/or
-darkice: Ogg Vorbis, and sends the mp3 stream to one or more IceCast and/or
-darkice: ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
-darkice: servers.
-darkice:
-darkice:
-darkice:
-darkice:
-EOF
-
-# docs
-mkdir -p usr/doc/$PACKAGE-$VERSION
-
-for file in AUTHORS COPYING ChangeLog FAQ INSTALL INSTALL.lame INSTALL.vorbis NEWS README TODO; do
- cp $CWD/$file* usr/doc/$PACKAGE-$VERSION/
-done
-
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/darkice/slack-required b/darkice/slack-required
deleted file mode 100644
index b63aeae6..00000000
--- a/darkice/slack-required
+++ /dev/null
@@ -1,3 +0,0 @@
-lame
-jack
-twolame