2007-06-12 16:36:03 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 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:=mvprelay
|
|
|
|
PKG_VERSION:=0.1
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2007-10-22 13:40:13 +00:00
|
|
|
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
|
2007-06-12 16:36:03 +00:00
|
|
|
PKG_MD5SUM:=189fb792470c966834d5204705ebee83
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/mvprelay
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=relays requests from the MVP
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://mvpmc.wikispaces.com/mvprelay
|
2007-06-12 16:36:03 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/mvprelay/description
|
|
|
|
Relays requests from the MediaMVP to the TFTP server
|
|
|
|
endef
|
|
|
|
|
2007-06-12 16:36:03 +00:00
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/mvprelay/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mvprelay))
|