2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=https
://downloads.xiph.org
/releases
/icecast
/
14 PKG_HASH
:=c85ca48c765d61007573ee1406a797ae6cb31fb5961a42e7f1c87adb45ddc592
16 PKG_MAINTAINER
:=André Gaul
<andre@gaul.io
>, \
17 Ted Hess
<thess@kitschensync.net
>
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/icecast
30 DEPENDS
:=+libcurl
+libxml2
+libxslt
+libogg
+libvorbisidec
31 TITLE
:=A streaming media server for Ogg
/Vorbis and MP3 audio streams
32 USERID
:=icecast
=87:icecast
=87
33 URL
:=http
://www.icecast.org
/
36 define Package
/icecast
/description
37 Icecast is a streaming media server which currently supports Ogg
38 Vorbis and MP3 audio streams. It can be used to create an Internet
39 radio station or a privately running jukebox and many things in
40 between. It is very versatile in that new formats can be added
41 relatively easily and supports open standards for commuincation and
49 --with-curl-config
="$(STAGING_DIR)/usr/bin/curl-config" \
50 --with-ogg
="$(STAGING_DIR)/usr" \
53 --with-vorbis
="$(STAGING_DIR)/usr" \
54 --with-xslt-config
="$(STAGING_DIR)/usr/bin/xslt-config"
57 # Manually edit configure in case both vorbis and tremor host packages are installed
58 define Build
/Configure
59 $(SED
) 's,-lvorbis -lm,-lvorbisidec -logg ,g' $(PKG_BUILD_DIR
)/configure
60 $(call Build
/Configure
/Default
)
63 define Package
/icecast
/install
64 $(INSTALL_DIR
) $(1)/etc
65 $(CP
) $(PKG_INSTALL_DIR
)/etc
/icecast.xml
$(1)/etc
/
66 $(INSTALL_DIR
) $(1)/etc
/init.d
67 $(INSTALL_BIN
) .
/files
/icecast.init
$(1)/etc
/init.d
/icecast
68 $(INSTALL_DIR
) $(1)/usr
/bin
69 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/icecast
$(1)/usr
/bin
/
70 $(INSTALL_DIR
) $(1)/usr
/share
/icecast
71 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/icecast
/admin
$(1)/usr
/share
/icecast
/
72 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/icecast
/web
$(1)/usr
/share
/icecast
/
75 define Package
/icecast
/conffiles
79 $(eval
$(call BuildPackage
,icecast
))