2 # Copyright (C) 2007 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
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
16 PKG_MD5SUM:=189fb792470c966834d5204705ebee83
18 include $(INCLUDE_DIR)/package.mk
20 define Package/mvprelay
23 TITLE:=relays requests from the MVP
24 URL:=http://downloads.openwrt.org/sources/
27 define Package/mvprelay/description
28 Relays requests from the MediaMVP to the TFTP server
31 define Build/Configure
35 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
38 define Package/mvprelay/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
43 $(eval $(call BuildPackage,mvprelay))