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.

62 lines
1.7 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_LICENSE:=GPL-3.0
  18. PKG_LICENSE_FILES:=gpl.txt
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/udpxy
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Convert UDP IPTV streams into HTTP streams
  25. URL:=http://www.udpxy.com/index-en.html
  26. endef
  27. define Package/udpxy/description
  28. udproxy makes it possible to convert UDP IPTV streams into HTTP
  29. streams which can be viewed even over WLANs. HTTP streams do
  30. not generate huge amounts of multicast traffic, so a sd stream
  31. only takes about 300k. Interesting for peoply who have IPTV at
  32. home and do not want to rent multiple decoders from their
  33. provider but just use their own streaming client (for example
  34. popcornhour/mediatomb/vlc).
  35. endef
  36. define Package/udpxy/conffiles
  37. /etc/config/udpxy
  38. endef
  39. MAKE_FLAGS += \
  40. INSTALLROOT="$(PKG_INSTALL_DIR)/usr" \
  41. ALL_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
  42. define Package/udpxy/install
  43. $(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/config
  44. $(INSTALL_CONF) ./files/udpxy.conf $(1)/etc/config/udpxy
  45. $(INSTALL_BIN) ./files/udpxy.init $(1)/etc/init.d/udpxy
  46. $(INSTALL_DIR) $(1)/usr/bin
  47. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/udpxy $(1)/usr/bin/
  48. ln -sf udpxy $(1)/usr/bin/udpxrec
  49. endef
  50. $(eval $(call BuildPackage,udpxy))