[packages] udpxy: update to version Chipmunk-20
[openwrt/svn-archive/archive.git] / net / udpxy / Makefile
1 #
2 # Copyright (C) 2006-2011 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
12 PKG_TAG:=Chipmunk-20
13 PKG_VERSION:=$(PKG_REV)-$(PKG_TAG)
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME).$(PKG_REV)-$(patsubst Chipmunk-%,Chipmunk-BLD%,$(PKG_TAG)).tgz
17 PKG_SOURCE_URL:=@SF/udpxy
18 PKG_MD5SUM:=da0a587cfc81fb4a501b07ed84237469
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://sourceforge.net/projects/udpxy
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
44 define Package/udpxy/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/udpxy $(1)/usr/bin/
47 ln -sf udpxy $(1)/usr/bin/udpxrec
48 endef
49
50 $(eval $(call BuildPackage,udpxy))