summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAndrew Rowland <darowland@ieee.org>2011-12-26 09:35:30 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-12-27 10:15:07 -0600
commitffb08df680223f21f3726a22c086c9687ad16fba (patch)
treeb55ec2b8aaaa144025540cea1fdba4a7d0290fdc /audio
parent2d50b728a5c138b4e6783cf44ad362c2dadb4923 (diff)
downloadslackbuilds-ffb08df680223f21f3726a22c086c9687ad16fba.tar.gz
audio/rplay: Added (A network audio system)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/rplay/README8
-rw-r--r--audio/rplay/rplay-3.3.2-destdir-1.patch314
-rw-r--r--audio/rplay/rplay.SlackBuild113
-rw-r--r--audio/rplay/rplay.info10
-rw-r--r--audio/rplay/slack-desc19
5 files changed, 464 insertions, 0 deletions
diff --git a/audio/rplay/README b/audio/rplay/README
new file mode 100644
index 0000000000..70228e33d2
--- /dev/null
+++ b/audio/rplay/README
@@ -0,0 +1,8 @@
+Rplay is a flexible network audio system that allows sounds to be played
+to and from local and remote UNIX systems.
+
+Sounds can be played with or without sending audio data over the network
+using either UDP or TCP.
+
+Rplay audio servers can be configured to share sound files with each
+other.
diff --git a/audio/rplay/rplay-3.3.2-destdir-1.patch b/audio/rplay/rplay-3.3.2-destdir-1.patch
new file mode 100644
index 0000000000..be66140d2d
--- /dev/null
+++ b/audio/rplay/rplay-3.3.2-destdir-1.patch
@@ -0,0 +1,314 @@
+diff -Naur rplay-3.3.2-orig/Makefile.in rplay-3.3.2/Makefile.in
+--- rplay-3.3.2-orig/Makefile.in 1998-07-14 18:35:22.000000000 -0400
++++ rplay-3.3.2/Makefile.in 2011-12-25 22:49:48.496492799 -0500
+@@ -7,6 +7,8 @@
+
+ TARGET= @BUILD_TARGETS@
+
++DESTDIR=
++
+ all:
+ @for i in $(TARGET); \
+ do \
+@@ -18,13 +20,13 @@
+ install:
+ @for i in $(TARGET); \
+ do \
+- (echo make install in $$i...; cd $$i; $(MAKE) $(MFLAGS) install); \
++ (echo make install in $$i...; cd $$i; $(MAKE) $(MFLAGS) install $(DESTDIR)); \
+ done;
+
+ uninstall:
+ @for i in $(TARGET); \
+ do \
+- (echo make uninstall in $$i...; cd $$i; $(MAKE) $(MFLAGS) uninstall); \
++ (echo make uninstall in $$i...; cd $$i; $(MAKE) $(MFLAGS) uninstall $(DESTDIR)); \
+ done;
+
+ clean:
+diff -Naur rplay-3.3.2-orig/devrplay/Makefile.in rplay-3.3.2/devrplay/Makefile.in
+--- rplay-3.3.2-orig/devrplay/Makefile.in 1999-03-22 21:36:30.000000000 -0500
++++ rplay-3.3.2/devrplay/Makefile.in 2011-12-25 22:56:17.270462280 -0500
+@@ -8,6 +8,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ CPPFLAGS= $(CC_OPTIONS) -fPIC -I. -I../include -I@srcdir@/../include @DEFS@
+
+ .c.o:
+@@ -31,11 +33,11 @@
+ (cd ../librplay; $(MAKE) $(MFLAGS) librplay.so)
+
+ install: all
+- $(MKINSTALLDIRS) $(libdir)
+- $(INSTALL_DATA) $(TARGET) $(libdir)
++ $(MKINSTALLDIRS) $(DESTDIR)/$(libdir)
++ $(INSTALL_DATA) $(TARGET) $(DESTDIR)/$(libdir)
+
+ uninstall:
+- $(RM) $(libdir)/$(TARGET)
++ $(RM) $(DESTDIR)/$(libdir)/$(TARGET)
+
+ clean:
+ $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
+diff -Naur rplay-3.3.2-orig/doc/Makefile.in rplay-3.3.2/doc/Makefile.in
+--- rplay-3.3.2-orig/doc/Makefile.in 1998-07-14 18:35:23.000000000 -0400
++++ rplay-3.3.2/doc/Makefile.in 2011-12-25 22:59:07.183495856 -0500
+@@ -8,6 +8,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ .SUFFIXES:
+ .SUFFIXES: .texi .info .dvi .ps .html
+
+@@ -39,31 +41,31 @@
+ ./genman rplayd.8.in
+
+ install: all
+- -$(MKINSTALLDIRS) $(mandir)/man1 $(mandir)/man5 $(mandir)/man8 $(infodir)
+- -$(INSTALL_DATA) rplay.1 $(mandir)/man1
+- -$(INSTALL_DATA) rplayd.8 $(mandir)/man8
+- -$(INSTALL_DATA) rptp.1 $(mandir)/man1
+- -$(INSTALL_DATA) rplay.conf.5 $(mandir)/man5
+- -$(INSTALL_DATA) rplay.helpers.5 $(mandir)/man5
+- -$(INSTALL_DATA) rplay.hosts.5 $(mandir)/man5
+- -$(INSTALL_DATA) rplay.servers.5 $(mandir)/man5
+- -$(INSTALL_DATA) RPLAY.info $(infodir)/RPLAY.info
+- -$(INSTALL_DATA) RPTP.info $(infodir)/RPTP.info
+- -$(INSTALL_DATA) librplay.info $(infodir)/librplay.info
+- -$(INSTALL_DATA) rplay.info $(infodir)/rplay.info
++ -$(MKINSTALLDIRS) $(DESTDIR)/$(mandir)/man1 $(DESTDIR)/$(mandir)/man5 $(DESTDIR)/$(mandir)/man8 $(DESTDIR)/$(infodir)
++ -$(INSTALL_DATA) rplay.1 $(DESTDIR)/$(mandir)/man1
++ -$(INSTALL_DATA) rplayd.8 $(DESTDIR)/$(mandir)/man8
++ -$(INSTALL_DATA) rptp.1 $(DESTDIR)/$(mandir)/man1
++ -$(INSTALL_DATA) rplay.conf.5 $(DESTDIR)/$(mandir)/man5
++ -$(INSTALL_DATA) rplay.helpers.5 $(DESTDIR)/$(mandir)/man5
++ -$(INSTALL_DATA) rplay.hosts.5 $(DESTDIR)/$(mandir)/man5
++ -$(INSTALL_DATA) rplay.servers.5 $(DESTDIR)/$(mandir)/man5
++ -$(INSTALL_DATA) RPLAY.info $(DESTDIR)/$(infodir)/RPLAY.info
++ -$(INSTALL_DATA) RPTP.info $(DESTDIR)/$(infodir)/RPTP.info
++ -$(INSTALL_DATA) librplay.info $(DESTDIR)/$(infodir)/librplay.info
++ -$(INSTALL_DATA) rplay.info $(DESTDIR)/$(infodir)/rplay.info
+
+ uninstall:
+- -$(RM) $(mandir)/man1/rplay.1
+- -$(RM) $(mandir)/man8/rplayd.8
+- -$(RM) $(mandir)/man1/rptp.1
+- -$(RM) $(mandir)/man5/rplay.conf.5
+- -$(RM) $(mandir)/man5/rplay.helpers.5
+- -$(RM) $(mandir)/man5/rplay.hosts.5
+- -$(RM) $(mandir)/man5/rplay.servers.5
+- -$(RM) $(infodir)/RPLAY.info
+- -$(RM) $(infodir)/RPTP.info
+- -$(RM) $(infodir)/librplay.info
+- -$(RM) $(infodir)/rplay.info
++ -$(RM) $(DESTDIR)/$(mandir)/man1/rplay.1
++ -$(RM) $(DESTDIR)/$(mandir)/man8/rplayd.8
++ -$(RM) $(DESTDIR)/$(mandir)/man1/rptp.1
++ -$(RM) $(DESTDIR)/$(mandir)/man5/rplay.conf.5
++ -$(RM) $(DESTDIR)/$(mandir)/man5/rplay.helpers.5
++ -$(RM) $(DESTDIR)/$(mandir)/man5/rplay.hosts.5
++ -$(RM) $(DESTDIR)/$(mandir)/man5/rplay.servers.5
++ -$(RM) $(DESTDIR)/$(infodir)/RPLAY.info
++ -$(RM) $(DESTDIR)/$(infodir)/RPTP.info
++ -$(RM) $(DESTDIR)/$(infodir)/librplay.info
++ -$(RM) $(DESTDIR)/$(infodir)/rplay.info
+
+ clean:
+ $(RM) *~ *.bak *.orig
+diff -Naur rplay-3.3.2-orig/include/Makefile.in rplay-3.3.2/include/Makefile.in
+--- rplay-3.3.2-orig/include/Makefile.in 1998-07-14 18:35:22.000000000 -0400
++++ rplay-3.3.2/include/Makefile.in 2011-12-25 23:01:02.926501049 -0500
+@@ -8,6 +8,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ TARGET= rplay.h
+
+ all:
+@@ -15,8 +17,8 @@
+ $(TARGET):
+
+ install: $(TARGET)
+- $(MKINSTALLDIRS) $(includedir)
+- $(INSTALL_DATA) @srcdir@/$(TARGET) $(includedir)/$(TARGET)
++ $(MKINSTALLDIRS) $(DESTDIR)/$(includedir)
++ $(INSTALL_DATA) @srcdir@/$(TARGET) $(DESTDIR)/$(includedir)/$(TARGET)
+
+ uninstall:
+ $(RM) $(includedir)/$(TARGET)
+diff -Naur rplay-3.3.2-orig/librplay/Makefile.in rplay-3.3.2/librplay/Makefile.in
+--- rplay-3.3.2-orig/librplay/Makefile.in 1999-03-22 21:38:38.000000000 -0500
++++ rplay-3.3.2/librplay/Makefile.in 2011-12-25 22:52:41.361565058 -0500
+@@ -11,6 +11,8 @@
+ CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@/../include @DEFS@
+ LDFLAGS= $(LD_OPTIONS) -shared @LDFLAGS@
+
++DESTDIR=
++
+ .c.o:
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+@@ -48,13 +50,13 @@
+ #
+
+ install: all
+- $(MKINSTALLDIRS) $(libdir)
+- $(INSTALL_DATA) $(TARGET) $(libdir)
+- $(INSTALL_DATA) librplay.so $(libdir)
++ $(MKINSTALLDIRS) $(DESTDIR)/$(libdir)
++ $(INSTALL_DATA) $(TARGET) $(DESTDIR)/$(libdir)
++ $(INSTALL_DATA) librplay.so $(DESTDIR)/$(libdir)
+
+ uninstall:
+- $(RM) $(libdir)/$(TARGET)
+- $(RM) $(libdir)/librplay.so
++ $(RM) $(DESTDIR)/$(libdir)/$(TARGET)
++ $(RM) $(DESTDIR)/$(libdir)/librplay.so
+
+ clean:
+ $(RM) $(OBJS) $(SHAREDOBJS) $(TARGET) librplay.so a.out core *~ *.bak *.orig TAGS
+diff -Naur rplay-3.3.2-orig/rplay/Makefile.in rplay-3.3.2/rplay/Makefile.in
+--- rplay-3.3.2-orig/rplay/Makefile.in 1999-03-20 19:44:57.000000000 -0500
++++ rplay-3.3.2/rplay/Makefile.in 2011-12-25 22:54:52.564503922 -0500
+@@ -8,6 +8,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@/../include -I@srcdir@/../lib @DEFS@
+
+ .c.o:
+@@ -31,11 +33,11 @@
+ (cd ../lib; $(MAKE) $(MFLAGS))
+
+ install: all
+- $(MKINSTALLDIRS) $(bindir)
+- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
++ $(MKINSTALLDIRS) $(DESTDIR)/$(bindir)
++ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/$(bindir)/$(TARGET)
+
+ uninstall:
+- $(RM) $(bindir)/$(TARGET)
++ $(RM) $(DESTDIR)/$(bindir)/$(TARGET)
+
+ clean:
+ $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
+diff -Naur rplay-3.3.2-orig/rplayd/Makefile.in rplay-3.3.2/rplayd/Makefile.in
+--- rplay-3.3.2-orig/rplayd/Makefile.in 1999-06-09 02:27:43.000000000 -0400
++++ rplay-3.3.2/rplayd/Makefile.in 2011-12-25 22:51:37.270484658 -0500
+@@ -9,6 +9,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ CPPFLAGS = $(CC_OPTIONS) -I. -I../include -I${srcdir} -I${srcdir}/../include \
+ -I${srcdir}/../lib -I${srcdir}/../adpcm \
+ @GSM_INCS@ \
+@@ -52,12 +54,12 @@
+ (cd ../adpcm; $(MAKE) $(MFLAGS))
+
+ install: all
+- $(MKINSTALLDIRS) $(sbindir)
+- $(INSTALL_PROGRAM) $(TARGET) $(sbindir)/$(TARGET)
+- @test -x $(bindir)/$(TARGET) && echo "" && echo " Note: Consider removing $(bindir)/$(TARGET)" && echo ""
++ $(MKINSTALLDIRS) $(DESTDIR)/$(sbindir)
++ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/$(sbindir)/$(TARGET)
++ @test -x $(DESTDIR)/$(bindir)/$(TARGET) && echo "" && echo " Note: Consider removing $(DESTDIR)/$(bindir)/$(TARGET)" && echo ""
+
+ uninstall:
+- $(RM) $(bindir)/$(TARGET)
++ $(RM) $(DESTDIR)/$(bindir)/$(TARGET)
+
+ clean:
+ $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
+diff -Naur rplay-3.3.2-orig/rplayd/rplayd.h rplay-3.3.2/rplayd/rplayd.h
+--- rplay-3.3.2-orig/rplayd/rplayd.h 1999-03-10 02:58:04.000000000 -0500
++++ rplay-3.3.2/rplayd/rplayd.h 2011-12-25 22:49:10.967652476 -0500
+@@ -28,6 +28,7 @@
+ #include "config.h"
+ #endif
+ #include <sys/types.h>
++#include <errno.h>
+ #include "rplay.h"
+ #include "misc.h"
+ #include "audio.h"
+@@ -73,7 +74,6 @@
+ extern fd_set read_mask;
+ extern fd_set write_mask;
+ extern int debug;
+-extern int inetd;
+ extern int rptp_timeout;
+ extern char hostname[];
+ extern char *hostaddr;
+diff -Naur rplay-3.3.2-orig/rptp/Makefile.in rplay-3.3.2/rptp/Makefile.in
+--- rplay-3.3.2-orig/rptp/Makefile.in 1999-06-09 02:27:48.000000000 -0400
++++ rplay-3.3.2/rptp/Makefile.in 2011-12-25 22:54:11.616505077 -0500
+@@ -8,6 +8,8 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ MKINSTALLDIRS= @srcdir@/../mkinstalldirs
+
++DESTDIR=
++
+ CPPFLAGS= $(CC_OPTIONS) -I. -I../include -I@srcdir@/../include -I@srcdir@/../lib @DEFS@
+
+ .c.o:
+@@ -33,11 +35,11 @@
+ (cd ../lib; $(MAKE) $(MFLAGS))
+
+ install: all
+- $(MKINSTALLDIRS) $(bindir)
+- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
++ $(MKINSTALLDIRS) $(DESTDIR)/$(bindir)
++ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/$(bindir)/$(TARGET)
+
+ uninstall:
+- $(RM) $(bindir)/$(TARGET)
++ $(RM) $(DESTDIR)/$(bindir)/$(TARGET)
+
+ clean:
+ $(RM) $(OBJS) $(TARGET) a.out core *~ *.bak *.orig TAGS
+diff -Naur rplay-3.3.2-orig/rx/Makefile.in rplay-3.3.2/rx/Makefile.in
+--- rplay-3.3.2-orig/rx/Makefile.in 1998-07-14 18:35:25.000000000 -0400
++++ rplay-3.3.2/rx/Makefile.in 2011-12-25 23:00:33.819517890 -0500
+@@ -29,6 +29,8 @@
+ includedir = $(prefix)/include
+ infodir = $(prefix)/info
+
++DESTDIR=
++
+ #### Start of system configuration section. ####
+
+ CC = @CC@
+@@ -64,16 +66,16 @@
+ all: librx.a
+
+ install: all
+- test -d $(libdir) || mkdir $(libdir)
+- test -d $(includedir) || mkdir $(includedir)
+- $(INSTALL) librx.a $(libdir)/librx.a
+- $(RANLIB) $(libdir)/librx.a
+- $(INSTALL) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
++ test -d $(DESTDIR)/$(libdir) || mkdir $(DESTDIR)/$(libdir)
++ test -d $(DESTDIR)/$(includedir) || mkdir $(DESTDIR)/$(includedir)
++ $(INSTALL) librx.a $(DESTDIR)/$(libdir)/librx.a
++ $(RANLIB) $(DESTDIR)/$(libdir)/librx.a
++ $(INSTALL) $(srcdir)/inst-rxposix.h $(DESTDIR)/$(includedir)/rxposix.h
+
+
+ uninstall:
+- -rm -f $(libdir)/librx.a
+- -rm -f $(includedir)/rxposix.h
++ -rm -f $(DESTDIR)/$(libdir)/librx.a
++ -rm -f $(DESTDIR)/$(includedir)/rxposix.h
+
+ clean:
+ -rm -f $(libobjs) librx.a $(opt_objs)
diff --git a/audio/rplay/rplay.SlackBuild b/audio/rplay/rplay.SlackBuild
new file mode 100644
index 0000000000..c8d64c2629
--- /dev/null
+++ b/audio/rplay/rplay.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/sh
+
+# Slackware build script for rplay
+
+# Written by Andrew Rowland <darowland@ieee.org>
+
+PRGNAM=rplay
+VERSION=${VERSION:-3.3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+# Set the user for the rplay daemon.
+RPLAYUSER=${RPLAYUSER:-rplayd}
+RPLAYGROUP=${RPLAYGROUP:-rplayd}
+RPLAYUID=${RPLAYUID:-258}
+RPLAYGID=${RPLAYGID:-258}
+
+# Bail out if user or group isn't valid on your system
+# For slackbuilds.org, assigned rplayd uid/gid are 258/258
+# See http://slackbuilds.org/uid_gid.txt
+if [ "$(grep ^$RPLAYUSER: /etc/passwd)" = "" -o "$(grep ^$RPLAYGROUP: /etc/group)" = "" ] ; then
+ echo " You must have a \"$RPLAYGROUP\" group and user to run this script."
+ echo " # groupadd -g $RPLAYGID $RPLAYGROUP"
+ echo " # useradd -u $RPLAYUID -g $RPLAYGROUP -d /dev/null -s /bin/false $RPLAYUSER"
+ exit 1
+fi
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+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 {} \;
+
+patch -Np1 -i $CWD/$PRGNAM-$VERSION-destdir-1.patch
+
+# Teach this to accept --libdir
+sed -i "s/^\(libdir=\).*/\1@libdir@/" Makefile.config.in
+sed -i "s/^\(libdir = \).*/\1@libdir@/" rx/Makefile.in
+
+CFLAGS="$SLKCFLAGS -D_GNU_SOURCE" \
+CXXFLAGS="$SLKCFLAGS -D_GNU_SOURCE" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc/rplay \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --enable-rplayd-user=$RPLAYER \
+ --enable-rplayd-group=$RPLAYER
+
+make
+make install DESTDIR=$PKG
+
+# Remove the static library. There is no configure option to suppress the
+# static library and this is easier than hacking the script.
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/librplay.a
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING INSTALL INSTALL.generic NEWS PORTING README README.linux 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.${PKGTYPE:-tgz}
diff --git a/audio/rplay/rplay.info b/audio/rplay/rplay.info
new file mode 100644
index 0000000000..33716b64d6
--- /dev/null
+++ b/audio/rplay/rplay.info
@@ -0,0 +1,10 @@
+PRGNAM="rplay"
+VERSION="3.3.2"
+HOMEPAGE="http://rplay.doit.org/"
+DOWNLOAD="http://rplay.doit.org/dist/rplay-3.3.2.tar.gz"
+MD5SUM="e39888f6bea32e1c8cf4a8880b416e56"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Andrew Rowland"
+EMAIL="darowland@ieee.org"
+APPROVED="Niels Horn"
diff --git a/audio/rplay/slack-desc b/audio/rplay/slack-desc
new file mode 100644
index 0000000000..a6d5ee5e69
--- /dev/null
+++ b/audio/rplay/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rplay: rplay (A network audio system)
+rplay:
+rplay: Rplay is a flexible network audio system that allows sounds to be
+rplay: played to and from local and remote UNIX systems.
+rplay:
+rplay: Sounds can be played with or without sending audio data over the
+rplay: network using either UDP or TCP.
+rplay:
+rplay: Rplay audio servers can be configured to share sound files with each
+rplay: other.
+rplay: