10ff2b6384b5ec88edc8d74e3318a094e3e80d69
[packages.git] / net / mvprelay / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=mvprelay
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
17 PKG_MD5SUM:=189fb792470c966834d5204705ebee83
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/mvprelay
22   SECTION:=net
23   CATEGORY:=Network
24   TITLE:=relays requests from the MVP
25   URL:=http://downloads.openwrt.org/sources/
26 endef
27
28 define Package/mvprelay/description
29         Relays requests from the MediaMVP to the TFTP server
30 endef
31
32 define Build/Configure
33 endef
34
35 define Build/Compile
36         $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
37 endef
38
39 define Package/mvprelay/install 
40         $(INSTALL_DIR) $(1)/usr/sbin
41         $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,mvprelay))