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.

63 lines
1.8 KiB

  1. #
  2. # Copyright (C) 2006-2016 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_VERSION:=1.0-25.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/pcherenkov/udpxy/tar.gz/$(PKG_VERSION)?
  13. PKG_HASH:=715c9af36c708a19225233a9013582e06d5c97d16d9a699765067b652c4871f9
  14. PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=chipmunk/gpl.txt
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. MAKE_PATH:=chipmunk
  21. define Package/udpxy
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Convert UDP IPTV streams into HTTP streams
  25. URL:=https://github.com/pcherenkov/udpxy
  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))