summaryrefslogtreecommitdiff
path: root/audio/streamripper
diff options
context:
space:
mode:
Diffstat (limited to 'audio/streamripper')
-rw-r--r--audio/streamripper/DESCR5
-rw-r--r--audio/streamripper/Makefile20
-rw-r--r--audio/streamripper/PLIST3
-rw-r--r--audio/streamripper/distinfo5
-rw-r--r--audio/streamripper/options.mk14
5 files changed, 47 insertions, 0 deletions
diff --git a/audio/streamripper/DESCR b/audio/streamripper/DESCR
new file mode 100644
index 00000000000..2f66da98f24
--- /dev/null
+++ b/audio/streamripper/DESCR
@@ -0,0 +1,5 @@
+Using information which a SHOUTcast server can optionally send, this program
+breaks an audio stream into "tracks," stores them in separate files as they
+arrive, and names the files by appending ".mp3" to the name of the track.
+The tracks can be listened to at the user's leisure with an MPEG Layer 3
+audio player.
diff --git a/audio/streamripper/Makefile b/audio/streamripper/Makefile
new file mode 100644
index 00000000000..fe07547c3a3
--- /dev/null
+++ b/audio/streamripper/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/20 19:55:49 xtraeme Exp $
+#
+
+DISTNAME= streamripper-1.61.14
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=streamripper/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://streamripper.sourceforge.net/
+COMMENT= Splits SHOUTcast stream into tracks
+
+GNU_CONFIGURE= yes
+
+PTHREAD_OPTS+= require
+
+.include "options.mk"
+
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/streamripper/PLIST b/audio/streamripper/PLIST
new file mode 100644
index 00000000000..e8b6d4b6e5d
--- /dev/null
+++ b/audio/streamripper/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/20 19:55:49 xtraeme Exp $
+bin/streamripper
+man/man1/streamripper.1
diff --git a/audio/streamripper/distinfo b/audio/streamripper/distinfo
new file mode 100644
index 00000000000..2c3d0802919
--- /dev/null
+++ b/audio/streamripper/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/20 19:55:49 xtraeme Exp $
+
+SHA1 (streamripper-1.61.14.tar.gz) = 986d558ecffb256c92e1f9efd2ef9c5b94bb4411
+RMD160 (streamripper-1.61.14.tar.gz) = 4c589c277cd5a3ac04e87d32384fe70c6abb7d35
+Size (streamripper-1.61.14.tar.gz) = 1184061 bytes
diff --git a/audio/streamripper/options.mk b/audio/streamripper/options.mk
new file mode 100644
index 00000000000..87017aca970
--- /dev/null
+++ b/audio/streamripper/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/10/20 19:55:49 xtraeme Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.streamripper
+PKG_SUPPORTED_OPTIONS= ogg
+PKG_SUGGESTED_OPTIONS= ogg
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mogg)
+. include "../../audio/libvorbis/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ogg=${BUILDLINK_PREFIX.libvorbis}
+.else
+CONFIGURE_ARGS+= --disable-ogg
+.endif