udpxy: moved to github
git-svn-id: svn://svn.openwrt.org/openwrt/packages@41107 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5903e6a15e
commit
46356d92bd
@ -1,53 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=udpxy
|
||||
PKG_REV:=1.0.23
|
||||
PKG_TAG:=9
|
||||
PKG_VERSION:=$(PKG_REV)-$(PKG_TAG)
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME).$(PKG_REV)-$(patsubst %,%-prod,$(PKG_TAG)).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.udpxy.com/download/1_23
|
||||
PKG_MD5SUM:=0c953f7dd80329c1a062997afb9b6744
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/udpxy
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=convert UDP IPTV streams into http stream
|
||||
URL:=http://www.udpxy.com/index-en.html
|
||||
endef
|
||||
|
||||
define Package/udpxy/description
|
||||
udproxy makes it possible to convert UDP IPTV streams into http
|
||||
streams which can be viewed even over wlans. http streams do
|
||||
not generate huge amounts of multicast traffic, so a sd stream
|
||||
only takes about 300k. interesting for peoply who have IPTV at
|
||||
home and do not want to rent multiple decoders from their
|
||||
provider but just use their own streaming client for example
|
||||
popcornhour/mediatomb/vlc/etc.
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += \
|
||||
INSTALLROOT="$(PKG_INSTALL_DIR)/usr" \
|
||||
ALL_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
|
||||
|
||||
define Package/udpxy/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/udpxy.init $(1)/etc/init.d/udpxy
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/udpxy $(1)/usr/bin/
|
||||
ln -sf udpxy $(1)/usr/bin/udpxrec
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,udpxy))
|
@ -1,27 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
# To open multicast traffic, add the following rule at the end of
|
||||
# /etc/config/firewall file:
|
||||
#
|
||||
# config 'rule'
|
||||
# option 'target' 'ACCEPT'
|
||||
# option '_name' 'multicast'
|
||||
# option 'src' 'wan'
|
||||
# option 'proto' 'all'
|
||||
# option 'dest_ip' '224.0.0.0/4'
|
||||
|
||||
START=99
|
||||
STOP=10
|
||||
|
||||
SERVICE_DAEMONIZE=1
|
||||
SERVICE_WRITE_PID=1
|
||||
|
||||
OPTIONS="-T -S -p 4022"
|
||||
|
||||
start() {
|
||||
service_start /usr/bin/udpxy $OPTIONS
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /usr/bin/udpxy
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user