You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.6 KiB

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