packages/net/live/Makefile
nico 7f47d3974f packages: add live/openrtsp package (thanks to Neel Banerjee)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 10:16:31 +00:00

45 lines
1015 B
Makefile

#
# Copyright (C) 2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=live
PKG_VERSION:=2011.12.02
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.live555.com/liveMedia/public/
PKG_MD5SUM:=4f10d93d33f6714a980fd1655ead69cd
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/openrtsp
SECTION:=video
CATEGORY:=Video Streaming
TITLE:=live555 streaming libraries and testProgs
URL:=http://www.live555.com/
DEPENDS:=+libstdcpp
endef
define Build/Configure
( cd $(PKG_BUILD_DIR); \
$(SED) 's/@CROSS_COMPILE@/$(TARGET_CROSS)/g' \
-e 's/@CFLAGS@/$(TARGET_CFLAGS)/g' \
config.OpenWrt; \
./genMakefiles OpenWrt; \
)
endef
define Package/openrtsp/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/testProgs/openRTSP $(1)/usr/bin/
endef
$(eval $(call BuildPackage,openrtsp))