2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2012.02.04
14 PKG_SOURCE
:=$(PKG_NAME
).
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.live555.com
/liveMedia
/public
/
16 PKG_MD5SUM
:=5c9753e027af08c065f156e2a0bec023
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/openrtsp
24 CATEGORY
:=Video Streaming
25 TITLE
:=live555 streaming libraries and testProgs
26 URL
:=http
://www.live555.com
/
30 define Build
/Configure
31 ( cd
$(PKG_BUILD_DIR
); \
32 $(SED
) 's/@CROSS_COMPILE@/$(TARGET_CROSS)/g' \
33 -e
's/@CFLAGS@/$(TARGET_CFLAGS)/g' \
35 .
/genMakefiles OpenWrt
; \
39 define Package
/openrtsp
/install
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/testProgs
/openRTSP
$(1)/usr
/bin
/
44 $(eval
$(call BuildPackage
,openrtsp
))