Remove executable bit from these Makefiles. Closes #728
[openwrt/svn-archive/archive.git] / net / vgp / Makefile
1 #
2 # Copyright (C) 2006 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:=vgp
12 PKG_VERSION:=0.2.1
13 PKG_RELEASE:=1
14 PKG_MD5SUM:=b8c25b5dfcb944f78bbc584be9c230c7
15 PKG_SOURCE_URL:=http://vgpd.freaknet.org/files/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18 PKG_CAT:=zcat
19
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/vgp
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=a daemon working like Cisco(c) HSRP
28 DESCRIPTION:=VGP (Virtual Gateway Protocol)is a very simple protocol able to\\\
29 work in a way similar to Cisco(c) HSRP. It implements the idea\\\
30 of Virtual Gateway to provide fault tollerance (and load\\\
31 balancing) on your net. Each client on your net has as its\\\
32 default gateway the virtual gateway and not the real router.\\\
33 URL:=http://vgpd.freaknet.org/
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/Default,DESTDIR=$(PKG_INSTALL_DIR) install)
38 endef
39
40 define Package/vgp/install
41 mkdir -p $(1)
42 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
43 endef
44
45 $(eval $(call BuildPackage,vgp))