[packages] vsftpd: fix compilation if libcap has been built in the same tree (#10937)
[openwrt/svn-archive/archive.git] / net / live / Makefile
1 #
2 # Copyright (C) 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:=live
11 PKG_VERSION:=2012.02.04
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.live555.com/liveMedia/public/
16 PKG_MD5SUM:=5c9753e027af08c065f156e2a0bec023
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/openrtsp
23 SECTION:=video
24 CATEGORY:=Video Streaming
25 TITLE:=live555 streaming libraries and testProgs
26 URL:=http://www.live555.com/
27 DEPENDS:=+libstdcpp
28 endef
29
30 define Build/Configure
31 ( cd $(PKG_BUILD_DIR); \
32 $(SED) 's/@CROSS_COMPILE@/$(TARGET_CROSS)/g' \
33 -e 's/@CFLAGS@/$(TARGET_CFLAGS)/g' \
34 config.OpenWrt; \
35 ./genMakefiles OpenWrt; \
36 )
37 endef
38
39 define Package/openrtsp/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/testProgs/openRTSP $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,openrtsp))