nuke $Id$ in /packages as well
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mvprelay
11 PKG_VERSION:=0.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
16 PKG_MD5SUM:=189fb792470c966834d5204705ebee83
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/mvprelay
21   SECTION:=net
22   CATEGORY:=Network
23   TITLE:=relays requests from the MVP
24   URL:=http://downloads.openwrt.org/sources/
25 endef
26
27 define Package/mvprelay/description
28         Relays requests from the MediaMVP to the TFTP server
29 endef
30
31 define Build/Configure
32 endef
33
34 define Build/Compile
35         $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
36 endef
37
38 define Package/mvprelay/install 
39         $(INSTALL_DIR) $(1)/usr/sbin
40         $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,mvprelay))