udpxy: new package
authorDavid Bachelart <david.bachelart@bbright.com>
Mon, 2 Jan 2017 15:45:29 +0000 (16:45 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jan 2017 10:44:03 +0000 (23:44 +1300)
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>
package/Config.in
package/udpxy/Config.in [new file with mode: 0644]
package/udpxy/udpxy.hash [new file with mode: 0644]
package/udpxy/udpxy.mk [new file with mode: 0644]

index 434f406f0ac20cbe89836f0c689f8a367187be21..c7b686232f5499579a0bab72e4daabb0610250e4 100644 (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"
diff --git a/package/udpxy/Config.in b/package/udpxy/Config.in
new file mode 100644 (file)
index 0000000..f442a2f
--- /dev/null
@@ -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/
diff --git a/package/udpxy/udpxy.hash b/package/udpxy/udpxy.hash
new file mode 100644 (file)
index 0000000..4042a41
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  6ce33b1d14a1aeab4bd2566aca112e41943df4d002a7678d9a715108e6b714bd    udpxy.1.0.23-9-prod.tar.gz
diff --git a/package/udpxy/udpxy.mk b/package/udpxy/udpxy.mk
new file mode 100644 (file)
index 0000000..dd8c91f
--- /dev/null
@@ -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))