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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
17 PKG_MD5SUM:=189fb792470c966834d5204705ebee83
19 include $(INCLUDE_DIR)/package.mk
21 define Package/mvprelay
24 TITLE:=relays requests from the MVP
25 URL:=http://downloads.openwrt.org/sources/
28 define Package/mvprelay/description
29 Relays requests from the MediaMVP to the TFTP server
32 define Build/Configure
36 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
39 define Package/mvprelay/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
44 $(eval $(call BuildPackage,mvprelay))