diff options
author | kim <kim@pkgsrc.org> | 2004-04-24 18:08:13 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2004-04-24 18:08:13 +0000 |
commit | 4d9d538469c34f89277a9e0f846b522dfd300259 (patch) | |
tree | 881203634d6b1d8c3bc730c193482da8fd9eb77f /audio/ices-mp3 | |
parent | 14403dd546a05aeb8238172b236bbf296367aaa9 (diff) | |
download | pkgsrc-4d9d538469c34f89277a9e0f846b522dfd300259.tar.gz |
IceS is a source client for a streaming server. The purpose of this
client is to provide an audio stream to a streaming server such that
one or more listeners can access the stream.
Diffstat (limited to 'audio/ices-mp3')
-rw-r--r-- | audio/ices-mp3/DESCR | 3 | ||||
-rw-r--r-- | audio/ices-mp3/Makefile | 62 | ||||
-rw-r--r-- | audio/ices-mp3/PLIST | 18 | ||||
-rw-r--r-- | audio/ices-mp3/distinfo | 5 | ||||
-rw-r--r-- | audio/ices-mp3/patches/patch-aa | 16 |
5 files changed, 104 insertions, 0 deletions
diff --git a/audio/ices-mp3/DESCR b/audio/ices-mp3/DESCR new file mode 100644 index 00000000000..cf323f964e0 --- /dev/null +++ b/audio/ices-mp3/DESCR @@ -0,0 +1,3 @@ +IceS is a source client for a streaming server. The purpose of this +client is to provide an audio stream to a streaming server such that +one or more listeners can access the stream. diff --git a/audio/ices-mp3/Makefile b/audio/ices-mp3/Makefile new file mode 100644 index 00000000000..2ad97f07801 --- /dev/null +++ b/audio/ices-mp3/Makefile @@ -0,0 +1,62 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/24 18:08:13 kim Exp $ +# + +DISTNAME= ices-${ICES_VERSION} +PKGNAME= ices-mp3-${ICES_VERSION} +ICES_VERSION= 0.3 +CATEGORIES= audio +MASTER_SITES= http://www.icecast.org/files/ices/ + +MAINTAINER= kim@tac.nyc.ny.us +HOMEPAGE= http://www.icecast.org/ices.php +COMMENT= Source client for a streaming server + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +BUILD_DEFS+= ICES_USE_PERL ICES_USE_PYTHON +ICES_USE_PERL?= NO +ICES_USE_PYTHON?= NO + +CONFIGURE_ARGS+= --program-suffix=-mp3 +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --with-docdir=${DOCDIR} +CONFIGURE_ARGS+= --with-moddir=${MODDIR} + +PKG_SYSCONFSUBDIR= icecast +#RCD_SCRIPTS= ${PKGBASE} + +DOCDIR= ${PREFIX}/share/doc/${PKGBASE} +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +MODDIR= ${PREFIX}/share/${PKGBASE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/ices ${PREFIX}/bin/${PKGBASE} + ${INSTALL_MAN} ${WRKSRC}/doc/ices.1 ${PREFIX}/man/man1/${PKGBASE}.1 + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/icesmanual.html ${DOCDIR} + for i in AUTHORS BUGS COPYING NEWS README README.playlist TODO ; \ + do \ + ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}/$$i ; \ + done + ${INSTALL_DATA_DIR} ${EGDIR} + for i in ices.conf.dist ices.pm.dist ices.py.dist ; \ + do \ + ${INSTALL_DATA} ${WRKSRC}/conf/$$i ${EGDIR}/$$i ; \ + done + ${INSTALL_DATA_DIR} ${MODDIR} + +.include "../../audio/lame/buildlink3.mk" +.include "../../audio/libshout/buildlink3.mk" +.include "../../audio/libvorbis/buildlink3.mk" +.if defined(ICES_USE_PERL) && (${ICES_USE_PERL} == "YES") +.include "../../lang/libperl/buildlink3.mk" +.endif +.if defined(ICES_USE_PYTHON) && (${ICES_USE_PYTHON} == "YES") +.include "../../lang/python/application.mk" +.endif +.include "../../textproc/libxml2/buildlink3.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/ices-mp3/PLIST b/audio/ices-mp3/PLIST new file mode 100644 index 00000000000..6d1e808f938 --- /dev/null +++ b/audio/ices-mp3/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/24 18:08:13 kim Exp $ +bin/${PKGBASE} +man/man1/${PKGBASE}.1 +share/doc/${PKGBASE}/AUTHORS +share/doc/${PKGBASE}/BUGS +share/doc/${PKGBASE}/COPYING +share/doc/${PKGBASE}/NEWS +share/doc/${PKGBASE}/README +share/doc/${PKGBASE}/README.playlist +share/doc/${PKGBASE}/TODO +share/doc/${PKGBASE}/icesmanual.html +share/examples/${PKGBASE}/ices.conf.dist +share/examples/${PKGBASE}/ices.pm.dist +share/examples/${PKGBASE}/ices.py.dist +@exec ${MKDIR} %D/share/${PKGBASE} +@dirrm share/${PKGBASE} +@dirrm share/doc/${PKGBASE} +@dirrm share/examples/${PKGBASE} diff --git a/audio/ices-mp3/distinfo b/audio/ices-mp3/distinfo new file mode 100644 index 00000000000..bfc4fdce16c --- /dev/null +++ b/audio/ices-mp3/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/24 18:08:13 kim Exp $ + +SHA1 (ices-0.3.tar.gz) = 46a31cd63e6efcf45247f02a91f787bb96a39a9b +Size (ices-0.3.tar.gz) = 252705 bytes +SHA1 (patch-aa) = 96412d08bcdd212e30c8836bb8f553fe3d3dbf27 diff --git a/audio/ices-mp3/patches/patch-aa b/audio/ices-mp3/patches/patch-aa new file mode 100644 index 00000000000..0e45e455092 --- /dev/null +++ b/audio/ices-mp3/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/24 18:08:13 kim Exp $ + +--- src/definitions.h.orig 2003-06-19 18:17:27.000000000 -0400 ++++ src/definitions.h 2004-04-17 03:04:00.000000000 -0400 +@@ -53,9 +53,11 @@ + # define __USE_POSIX + #endif + ++#ifndef __NetBSD__ + #ifndef _POSIX_C_SOURCE + #define _POSIX_C_SOURCE 199506L + #endif ++#endif + + /* This for freebsd (needed on 3.2 at least) */ + #ifdef SOMEBSD |