diff options
Diffstat (limited to 'package/icecast')
-rw-r--r-- | package/icecast/Config.in | 17 | ||||
-rw-r--r-- | package/icecast/Makefile | 40 | ||||
-rw-r--r-- | package/icecast/ipkg/icecast.conffiles | 1 | ||||
-rw-r--r-- | package/icecast/ipkg/icecast.control | 5 | ||||
-rw-r--r-- | package/icecast/patches/patch-m4_xiph_curl_m4 | 12 |
5 files changed, 75 insertions, 0 deletions
diff --git a/package/icecast/Config.in b/package/icecast/Config.in new file mode 100644 index 000000000..ea007003e --- /dev/null +++ b/package/icecast/Config.in @@ -0,0 +1,17 @@ +config ADK_PACKAGE_ICECAST + prompt "icecast........................... A streaming media server for Ogg/Vorbis and MP3 audio streams" + tristate + default n + select ADK_PACKAGE_LIBCURL + select ADK_PACKAGE_LIBVORBIS + select ADK_PACKAGE_LIBXML2 + select ADK_PACKAGE_LIBXSLT + help + Icecast is a streaming media server which currently supports Ogg + Vorbis and MP3 audio streams. It can be used to create an Internet + radio station or a privately running jukebox and many things in + between. It is very versatile in that new formats can be added + relatively easily and supports open standards for commuincation and + interaction. + + http://www.icecast.org/ diff --git a/package/icecast/Makefile b/package/icecast/Makefile new file mode 100644 index 000000000..77ff8f48f --- /dev/null +++ b/package/icecast/Makefile @@ -0,0 +1,40 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= icecast +PKG_VERSION:= 2.3.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= ff516b3ccd2bcc31e68f460cd316093f +MASTER_SITES:= http://downloads.us.xiph.org/releases/icecast/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,ICECAST,icecast,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +TCPPFLAGS+= -I${STAGING_DIR}/usr/include/libxml2 +CONFIGURE_STYLE= autotool gnu +CONFIGURE_ARGS+= --disable-yp \ + --with-curl="yes" \ + --with-curl-config="${STAGING_DIR}/usr/bin/curl-config" \ + --with-ogg="${STAGING_DIR}/usr" \ + --with-vorbis="${STAGING_DIR}/usr" \ + --with-speex="no" \ + --with-theora="no" \ + --with-xslt-config="${STAGING_DIR}/usr/bin/xslt-config" +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + ${INSTALL_DIR} ${IDIR_ICECAST}/etc + ${CP} ${WRKINST}/etc/icecast.xml ${IDIR_ICECAST}/etc/ + ${INSTALL_DIR} ${IDIR_ICECAST}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/icecast ${IDIR_ICECAST}/usr/bin/ + ${INSTALL_DIR} ${IDIR_ICECAST}/usr/share/icecast + ${CP} ${WRKINST}/usr/share/icecast/admin ${IDIR_ICECAST}/usr/share/icecast/ + ${CP} ${WRKINST}/usr/share/icecast/web ${IDIR_ICECAST}/usr/share/icecast/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/icecast/ipkg/icecast.conffiles b/package/icecast/ipkg/icecast.conffiles new file mode 100644 index 000000000..1203e9dc4 --- /dev/null +++ b/package/icecast/ipkg/icecast.conffiles @@ -0,0 +1 @@ +/etc/icecast.xml diff --git a/package/icecast/ipkg/icecast.control b/package/icecast/ipkg/icecast.control new file mode 100644 index 000000000..4df9d507f --- /dev/null +++ b/package/icecast/ipkg/icecast.control @@ -0,0 +1,5 @@ +Package: icecast +Priority: optional +Section: net +Depends: libcurl, libvorbisidec, libpthread, libxml2, libxslt +Description: A streaming media server diff --git a/package/icecast/patches/patch-m4_xiph_curl_m4 b/package/icecast/patches/patch-m4_xiph_curl_m4 new file mode 100644 index 000000000..b88806380 --- /dev/null +++ b/package/icecast/patches/patch-m4_xiph_curl_m4 @@ -0,0 +1,12 @@ +$Id$ +--- icecast-2.3.2.orig/m4/xiph_curl.m4 2008-04-19 03:54:26.000000000 +0200 ++++ icecast-2.3.2/m4/xiph_curl.m4 2008-08-29 12:34:17.000000000 +0200 +@@ -52,7 +52,7 @@ AC_CHECK_HEADERS([curl/curl.h],, curl_ok + AC_MSG_CHECKING(for libcurl) + if test "$curl_ok" = "yes" + then +- AC_RUN_IFELSE(AC_LANG_SOURCE([ ++ AC_LINK_IFELSE(AC_LANG_SOURCE([ + #include <curl/curl.h> + int main() + { |