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
>
22 PKG_LICENSE_FILES
:=gpl.txt
26 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=Convert UDP IPTV streams into HTTP streams
32 URL
:=http
://www.udpxy.com
/index-en.html
35 define Package
/udpxy
/description
36 udproxy makes it possible to convert UDP IPTV streams into HTTP
37 streams which can be viewed even over WLANs. HTTP streams do
38 not generate huge amounts of multicast traffic
, so a sd stream
39 only takes about
300k. Interesting for peoply who have IPTV at
40 home and do not want to rent multiple decoders from their
41 provider but just use their own streaming client
(for example
42 popcornhour
/mediatomb
/vlc
).
45 define Package
/udpxy
/conffiles
50 INSTALLROOT
="$(PKG_INSTALL_DIR)/usr" \
51 ALL_CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
53 define Package
/udpxy
/install
54 $(INSTALL_DIR
) $(1)/etc
/init.d
$(1)/etc
/config
55 $(INSTALL_CONF
) .
/files
/udpxy.conf
$(1)/etc
/config
/udpxy
56 $(INSTALL_BIN
) .
/files
/udpxy.init
$(1)/etc
/init.d
/udpxy
57 $(INSTALL_DIR
) $(1)/usr
/bin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/udpxy
$(1)/usr
/bin
/
59 ln
-sf udpxy
$(1)/usr
/bin
/udpxrec
62 $(eval
$(call BuildPackage
,udpxy
))