aMule: update to 2.3.1
[openwrt/svn-archive/archive.git] / net / udpxy / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=udpxy
11 PKG_REV:=1.0.23
12 PKG_TAG:=9
13 PKG_VERSION:=$(PKG_REV)-$(PKG_TAG)
14 PKG_RELEASE:=2
15
16 PKG_SOURCE:=$(PKG_NAME).$(PKG_REV)-$(patsubst %,%-prod,$(PKG_TAG)).tar.gz
17 PKG_SOURCE_URL:=http://www.udpxy.com/download/1_23
18 PKG_MD5SUM:=0c953f7dd80329c1a062997afb9b6744
19
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/udpxy
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=convert UDP IPTV streams into http stream
28 URL:=http://www.udpxy.com/index-en.html
29 endef
30
31 define Package/udpxy/description
32 udproxy makes it possible to convert UDP IPTV streams into http
33 streams which can be viewed even over wlans. http streams do
34 not generate huge amounts of multicast traffic, so a sd stream
35 only takes about 300k. interesting for peoply who have IPTV at
36 home and do not want to rent multiple decoders from their
37 provider but just use their own streaming client for example
38 popcornhour/mediatomb/vlc/etc.
39 endef
40
41 MAKE_FLAGS += \
42 INSTALLROOT="$(PKG_INSTALL_DIR)/usr" \
43 ALL_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
44
45 define Package/udpxy/install
46 $(INSTALL_DIR) $(1)/etc/init.d
47 $(INSTALL_BIN) ./files/udpxy.init $(1)/etc/init.d/udpxy
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/udpxy $(1)/usr/bin/
50 ln -sf udpxy $(1)/usr/bin/udpxrec
51 endef
52
53 $(eval $(call BuildPackage,udpxy))