[packages] nzbget: fix compilation against OpenSSL v1.x (#8893)
[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-19
13 PKG_VERSION:=$(PKG_REV)-$(PKG_TAG)
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME).$(PKG_REV)-$(PKG_TAG).tgz
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV)
18 PKG_SOURCE_URL:=@SF/udpxy
19 PKG_MD5SUM:=e1373a3bf30b2b3449a5b907aa4e29ce
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/udpxy
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=convert UDP IPTV streams into http stream
29 URL:=http://sourceforge.net/projects/udpxy
30 endef
31
32 define Package/udpxy/description
33 udproxy makes it possible to convert UDP IPTV streams into http
34 streams which can be viewed even over wlans. http streams do
35 not generate huge amounts of multicast traffic, so a sd stream
36 only takes about 300k. interesting for peoply who have IPTV at
37 home and do not want to rent multiple decoders from their
38 provider but just use their own streaming client for example
39 popcornhour/mediatomb/vlc/etc.
40 endef
41
42 MAKE_FLAGS += \
43 INSTALLROOT="$(PKG_INSTALL_DIR)/usr"
44
45 define Package/udpxy/install
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
51 $(eval $(call BuildPackage,udpxy))