udpxy: new package

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
[Thomas:
 - keep only sha256 hash, not needed to have md5 and sha1 when sha256 is
   provided
 - add BR2_USE_MMU dependency, since the program uses fork()
 - remove UDPXY_MAKE_OPTS, and use the appropriate options during the
   build and install steps directly
 - use TARGET_MAKE_ENV in the build and install steps]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
David Bachelart 2017-01-02 16:45:29 +01:00 committed by Thomas Petazzoni
parent 2957074559
commit 8e2439c81d
4 changed files with 34 additions and 0 deletions

View File

@ -45,6 +45,7 @@ menu "Audio and video applications"
source "package/tovid/Config.in"
source "package/tstools/Config.in"
source "package/twolame/Config.in"
source "package/udpxy/Config.in"
source "package/upmpdcli/Config.in"
source "package/v4l2grab/Config.in"
source "package/vlc/Config.in"

9
package/udpxy/Config.in Normal file
View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_UDPXY
bool "udpxy"
depends on BR2_USE_MMU
help
udpxy is a UDP-to-HTTP multicast traffic relay daemon: it
forwards UDP traffic from a given multicast subscription to
the requesting HTTP client.
http://www.udpxy.com/

2
package/udpxy/udpxy.hash Normal file
View File

@ -0,0 +1,2 @@
# Locally computed
sha256 6ce33b1d14a1aeab4bd2566aca112e41943df4d002a7678d9a715108e6b714bd udpxy.1.0.23-9-prod.tar.gz

22
package/udpxy/udpxy.mk Normal file
View File

@ -0,0 +1,22 @@
################################################################################
#
# udpxy
#
#################################################################################
UDPXY_VERSION = 1.0.23-9-prod
UDPXY_SOURCE = udpxy.$(UDPXY_VERSION).tar.gz
UDPXY_SITE = http://www.udpxy.com/download/1_23
UDPXY_LICENSE = GPLv3+
UDPXY_LICENSE_FILES = README
define UDPXY_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define UDPXY_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr \
-C $(@D) install
endef
$(eval $(generic-package))