summaryrefslogtreecommitdiff
path: root/audio/icecast1/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-08 20:48:45 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-08 20:48:45 +0000
commit576f38585f92de622c2b161ce3b5352051fbb746 (patch)
tree0d0531717b3bb4444e57a6345c96bf7392b29ae6 /audio/icecast1/Makefile
parent56eb233c19809608c600cd3d7ee0c8bb43edb4d2 (diff)
downloadpkgsrc-576f38585f92de622c2b161ce3b5352051fbb746.tar.gz
Reimport icecast to icecast1.
Diffstat (limited to 'audio/icecast1/Makefile')
-rw-r--r--audio/icecast1/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/audio/icecast1/Makefile b/audio/icecast1/Makefile
new file mode 100644
index 00000000000..1f391d89e45
--- /dev/null
+++ b/audio/icecast1/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/08 20:48:45 xtraeme Exp $
+#
+
+DISTNAME= icecast-1.3.12
+PKGREVISION= 1
+CATEGORIES= audio
+MASTER_SITES= http://www.icecast.org/releases/
+
+MAINTAINER= hubertf@NetBSD.org
+HOMEPAGE= http://www.icecast.org/
+COMMENT= Internet broadcasting system using Mpeg Layer III streaming
+
+USE_BUILDLINK2= # defined
+GNU_CONFIGURE= # defined
+USE_PKGINSTALL= yes
+
+RCD_SCRIPTS= icecast
+PKG_SYSCONFSUBDIR= icecast
+
+CONFIGURE_ARGS+= --with-readline \
+ --with-libwrap \
+ --with-python \
+ --sysconfdir=${PKG_SYSCONFDIR}
+CPPFLAGS+= -I${BUILDLINK_PREFIX.readline}/include/readline
+CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PYPACKAGE}}
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS}
+LDFLAGS+= ${BUILDLINK_LDFLAGS.${PYPACKAGE}}
+LIBS+= -lutil
+PTHREAD_OPTS+= native
+
+EGDIR= ${PREFIX}/share/examples/icecast
+EGFILES= groups.aut mounts.aut users.aut icecast.conf
+
+.for f in ${EGFILES}
+CONF_FILES+= ${EGDIR}/${f}.dist ${PKG_SYSCONFDIR}/${f}
+.endfor
+.undef f
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../lang/python/application.mk"
+.include "../../security/tcp_wrappers/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+. include "../../devel/unproven-pthreads/buildlink2.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"