summaryrefslogtreecommitdiff
path: root/audio/mp3to
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-19 16:10:24 +0000
committertron <tron@pkgsrc.org>2001-02-19 16:10:24 +0000
commit34b89e364724552b932c875ef770d1ac956c7811 (patch)
tree58bf582b57f9bc4c3d3f6c587d719a71f7683f3d /audio/mp3to
parent0200fc1d02b2a89b6dc2d59b31fd8535bd98cc0d (diff)
downloadpkgsrc-34b89e364724552b932c875ef770d1ac956c7811.tar.gz
Import new "mp3to" package:
Converts an MP3 file to another audio format. If <outfile> is - or missing, stdout is used. <format> may be au, wav, aiff, or any other format supported by sox.
Diffstat (limited to 'audio/mp3to')
-rw-r--r--audio/mp3to/Makefile26
-rw-r--r--audio/mp3to/files/md53
-rw-r--r--audio/mp3to/files/patch-sum3
-rw-r--r--audio/mp3to/patches/patch-aa14
-rw-r--r--audio/mp3to/pkg/DESCR3
-rw-r--r--audio/mp3to/pkg/PLIST2
6 files changed, 51 insertions, 0 deletions
diff --git a/audio/mp3to/Makefile b/audio/mp3to/Makefile
new file mode 100644
index 00000000000..c246f27a36a
--- /dev/null
+++ b/audio/mp3to/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/19 16:10:24 tron Exp $
+
+DISTNAME= mp3to
+PKGNAME= ${DISTNAME}-1.0.1
+CATEGORIES= audio
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .gz
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.cs.berkeley.edu/~amc/utils/
+COMMENT= Convert MP3 files to various other audio formats
+
+DEPENDS+= mpg123-*:../mpg123
+DEPENDS+= gmp3info>=0.8.2:../gmp3info
+DEPENDS+= sox>=12.17.1:../sox
+
+NO_BUILD= YES
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mp3to/files/md5 b/audio/mp3to/files/md5
new file mode 100644
index 00000000000..beae95b6de6
--- /dev/null
+++ b/audio/mp3to/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/19 16:10:24 tron Exp $
+
+MD5 (mp3to.gz) = 6b0d32d7c2cc5f37453def3b96207cb4
diff --git a/audio/mp3to/files/patch-sum b/audio/mp3to/files/patch-sum
new file mode 100644
index 00000000000..95af681e0fc
--- /dev/null
+++ b/audio/mp3to/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/02/19 16:10:24 tron Exp $
+
+MD5 (patch-aa) = e7f5398570ca6d05077f9121e09d593e
diff --git a/audio/mp3to/patches/patch-aa b/audio/mp3to/patches/patch-aa
new file mode 100644
index 00000000000..c7f1f313887
--- /dev/null
+++ b/audio/mp3to/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/19 16:10:24 tron Exp $
+
+--- mp3to.orig Mon Feb 19 16:56:43 2001
++++ mp3to Mon Feb 19 16:57:34 2001
+@@ -17,6 +17,9 @@
+ exit 1
+ }
+
++PATH=`dirname $0`:$PATH
++export PATH
++
+ progname=`basename "$0"`
+
+ [ $# -ge 2 -a $# -le 3 ] || fail "usage:
diff --git a/audio/mp3to/pkg/DESCR b/audio/mp3to/pkg/DESCR
new file mode 100644
index 00000000000..45ddd8f033a
--- /dev/null
+++ b/audio/mp3to/pkg/DESCR
@@ -0,0 +1,3 @@
+Converts an MP3 file to another audio format. If <outfile> is - or
+missing, stdout is used. <format> may be au, wav, aiff, or any other
+format supported by sox.
diff --git a/audio/mp3to/pkg/PLIST b/audio/mp3to/pkg/PLIST
new file mode 100644
index 00000000000..8c87201c87d
--- /dev/null
+++ b/audio/mp3to/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/19 16:10:24 tron Exp $
+bin/mp3to