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 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/mvprelay
27 TITLE
:=relays requests from the MVP
28 URL
:=http
://downloads.openwrt.org
/sources
/
31 define Package
/mvprelay
/description
32 Relays requests from the MediaMVP to the TFTP server
35 define Build
/Configure
39 $(TARGET_CC
) $(TARGET_CFLAGS
) $(PKG_BUILD_DIR
)/$(PKG_NAME
).c
-o
$(PKG_BUILD_DIR
)/$(PKG_NAME
)
42 define Package
/mvprelay
/install
43 $(INSTALL_DIR
) $(1)/usr
/sbin
44 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
47 $(eval
$(call BuildPackage
,mvprelay
))