37 lines
810 B
Makefile
37 lines
810 B
Makefile
# $OpenBSD: Makefile,v 1.57 2016/01/17 17:29:10 sthen Exp $
|
|
|
|
COMMENT= server for streaming various media formats
|
|
CATEGORIES= net audio
|
|
|
|
MAINTAINER= Eric Lalonde <eric.c.lalonde@gmail.com>
|
|
|
|
DISTNAME= icecast-2.4.2
|
|
REVISION= 1
|
|
HOMEPAGE= http://www.icecast.org/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/icecast/
|
|
|
|
WANTLIB += c curl>=2 crypto idn lzma m ogg pthread speex>=3
|
|
WANTLIB += ssl theora>=1 vorbis>=3 xml2 xslt>=3 z nghttp2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-theora=${LOCALBASE}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
LIB_DEPENDS = archivers/xz \
|
|
audio/libvorbis \
|
|
audio/speex \
|
|
multimedia/libtheora \
|
|
net/curl \
|
|
textproc/libxslt
|
|
|
|
SEPARATE_BUILD= Yes
|
|
|
|
.include <bsd.port.mk>
|