removed duplicate freetype
[openwrt/svn-archive/archive.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:=@openwrt/
17 PKG_MD5SUM:=189fb792470c966834d5204705ebee83
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/mvprelay
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=relays requests from the MVP
29 DESCRIPTION:=\
30 Relays requests from the MediaMVP to the TFTP server
31 URL:=http://downloads.openwrt.org/sources/
32 endef
33
34 define Build/Configure
35 endef
36
37 define Build/Compile
38 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
39 endef
40
41 define Package/mvprelay/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,mvprelay))