source: freewrt/package/vrrpd/Makefile@ 18c227bd

freewrt_2_0
Last change on this file since 18c227bd was 65d016f, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

fix half of the init scripts not conforming to
our standard. thx very much ulmen!

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1000 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1014 bytes
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= vrrpd
10PKG_VERSION:= 1.0
11PKG_RELEASE:= 2
12PKG_MD5SUM:= 6d5066ea1a6ced817376ca0f54765447
13PKG_INIT:= 70
14
15PKG_SOURCE_URL:= @SF/vrrpd
16PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
17
18include $(TOPDIR)/mk/package.mk
19
20$(eval $(call PKG_template,VRRPD,vrrpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22$(WRKBUILD)/.configured:
23 touch $@
24
25$(WRKBUILD)/.built:
26 $(MAKE) -C $(WRKBUILD) \
27 CC=$(TARGET_CC) \
28 DBG_OPT="" \
29 MAIN_OPT="$(TARGET_CFLAGS)" \
30 vrrpd
31 touch $@
32
33$(IPKG_VRRPD):
34 install -d -m0755 $(IDIR_VRRPD)/etc/init.d
35 install -m0755 ./files/vrrpd.init \
36 $(IDIR_VRRPD)/etc/init.d/S$(PKG_INIT)vrrpd
37 install -d -m0755 $(IDIR_VRRPD)/usr/sbin
38 install -m0755 $(WRKBUILD)/vrrpd $(IDIR_VRRPD)/usr/sbin/
39 $(RSTRIP) $(IDIR_VRRPD)
40 $(IPKG_BUILD) $(IDIR_VRRPD) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.