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_MD5SUM
:=83d7d34dbe22f0f8fc119d2c9839efc0
15 PKG_HASH
:=c85ca48c765d61007573ee1406a797ae6cb31fb5961a42e7f1c87adb45ddc592
17 PKG_MAINTAINER
:=André Gaul
<andre@gaul.io
>, \
18 Ted Hess
<thess@kitschensync.net
>
21 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/icecast
31 DEPENDS
:=+libcurl
+libxml2
+libxslt
+libogg
+libvorbisidec
32 TITLE
:=A streaming media server for Ogg
/Vorbis and MP3 audio streams
33 USERID
:=icecast
=87:icecast
=87
34 URL
:=http
://www.icecast.org
/
37 define Package
/icecast
/description
38 Icecast is a streaming media server which currently supports Ogg
39 Vorbis and MP3 audio streams. It can be used to create an Internet
40 radio station or a privately running jukebox and many things in
41 between. It is very versatile in that new formats can be added
42 relatively easily and supports open standards for commuincation and
50 --with-curl-config
="$(STAGING_DIR)/usr/bin/curl-config" \
51 --with-ogg
="$(STAGING_DIR)/usr" \
54 --with-vorbis
="$(STAGING_DIR)/usr" \
55 --with-xslt-config
="$(STAGING_DIR)/usr/bin/xslt-config"
58 # Manually edit configure in case both vorbis and tremor host packages are installed
59 define Build
/Configure
60 $(SED
) 's,-lvorbis -lm,-lvorbisidec -logg ,g' $(PKG_BUILD_DIR
)/configure
61 $(call Build
/Configure
/Default
)
64 define Package
/icecast
/install
65 $(INSTALL_DIR
) $(1)/etc
66 $(CP
) $(PKG_INSTALL_DIR
)/etc
/icecast.xml
$(1)/etc
/
67 $(INSTALL_DIR
) $(1)/etc
/init.d
68 $(INSTALL_BIN
) .
/files
/icecast.init
$(1)/etc
/init.d
/icecast
69 $(INSTALL_DIR
) $(1)/usr
/bin
70 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/icecast
$(1)/usr
/bin
/
71 $(INSTALL_DIR
) $(1)/usr
/share
/icecast
72 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/icecast
/admin
$(1)/usr
/share
/icecast
/
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/icecast
/web
$(1)/usr
/share
/icecast
/
76 define Package
/icecast
/conffiles
80 $(eval
$(call BuildPackage
,icecast
))