2006-08-06 14:50:20 +00:00
|
|
|
#
|
2010-02-18 13:10:21 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-08-06 14:50:20 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=peercast
|
|
|
|
PKG_VERSION:=0.1214
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=3
|
2006-08-06 14:50:20 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/peercast
|
|
|
|
PKG_MD5SUM:=4e8449cde7135ad97f788e67e1bd64ee
|
2006-08-06 14:50:20 +00:00
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-12-13 00:05:59 +00:00
|
|
|
PKG_REMOVE_FILES:=aclocal.m4 acinclude.m4
|
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2012-06-14 20:26:25 +00:00
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
2006-08-06 14:50:20 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/peercast
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
2012-06-14 20:26:25 +00:00
|
|
|
DEPENDS:=+libpthread $(CXX_DEPENDS)
|
2006-08-06 14:50:20 +00:00
|
|
|
TITLE:=P2P audio and video streaming server
|
|
|
|
URL:=http://www.peercast.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/peercast/conffiles
|
|
|
|
/etc/peercast.ini
|
|
|
|
endef
|
|
|
|
|
2007-09-03 15:58:55 +00:00
|
|
|
define Package/peercast/description
|
|
|
|
PeerCast is a fresh new P2P streaming server. It can stream music and
|
|
|
|
video from a broad variety of formats. Many audio players can listen to
|
|
|
|
peercast streams, as it's been built to remain compatible with Nullsoft
|
|
|
|
Shoutcast.
|
2006-08-06 14:50:20 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-03 15:58:55 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-staticbin \
|
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
2012-06-14 20:26:25 +00:00
|
|
|
LIBS="-lpthread"
|
2007-09-03 15:58:55 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
define Package/peercast/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/peercast $(1)/usr/sbin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/share/peercast/html
|
2006-08-06 14:50:20 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/peercast/html/en $(1)/usr/share/peercast/html/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DATA) ./files/peercast.ini $(1)/etc/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/peercast.init $(1)/etc/init.d/peercast
|
2006-08-06 14:50:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,peercast))
|