2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_VERSION
:=$(PKG_REV
)-$(PKG_TAG
)
16 PKG_SOURCE
:=$(PKG_NAME
).
$(PKG_REV
)-$(patsubst %,%-prod
,$(PKG_TAG
)).
tar.gz
17 PKG_SOURCE_URL
:=http
://www.udpxy.com
/download
/1_23
18 PKG_MD5SUM
:=0c953f7dd80329c1a062997afb9b6744
19 PKG_MAINTAINER
:=Álvaro Fernández Rojas
<noltari@gmail.com
>
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=Convert UDP IPTV streams into HTTP streams
29 URL
:=http
://www.udpxy.com
/index-en.html
32 define Package
/udpxy
/description
33 udproxy makes it possible to convert UDP IPTV streams into HTTP
34 streams which can be viewed even over WLANs. HTTP streams do
35 not generate huge amounts of multicast traffic
, so a sd stream
36 only takes about
300k. Interesting for peoply who have IPTV at
37 home and do not want to rent multiple decoders from their
38 provider but just use their own streaming client
(for example
39 popcornhour
/mediatomb
/vlc
).
42 define Package
/udpxy
/conffiles
47 INSTALLROOT
="$(PKG_INSTALL_DIR)/usr" \
48 ALL_CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
50 define Package
/udpxy
/install
51 $(INSTALL_DIR
) $(1)/etc
/init.d
$(1)/etc
/config
52 $(INSTALL_CONF
) .
/files
/udpxy.conf
$(1)/etc
/config
/udpxy
53 $(INSTALL_BIN
) .
/files
/udpxy.init
$(1)/etc
/init.d
/udpxy
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/udpxy
$(1)/usr
/bin
/
56 ln
-sf udpxy
$(1)/usr
/bin
/udpxrec
59 $(eval
$(call BuildPackage
,udpxy
))