freewrt_1_0
freewrt_2_0
|
Last change
on this file since 6fc4520e was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= dhcp6
|
|---|
| 10 | PKG_VERSION:= 1.0
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 86193dfa62137db3ea459543db4f1102
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/dhcpv6-linux
|
|---|
| 15 | PKG_SOURCE:= dhcpv6-linux-$(PKG_VERSION).zip
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,DHCP6,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.configured:
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | $(MAKE) CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR) -C $(WRKBUILD)/server
|
|---|
| 28 | $(MAKE) CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR) -C $(WRKBUILD)/client
|
|---|
| 29 | install -d $(WRKINST)/usr/sbin $(WRKINST)/etc/dhcp{d6,6}
|
|---|
| 30 | install -m0755 $(WRKBUILD)/client/cli $(WRKINST)/usr/sbin/dhcp6client
|
|---|
| 31 | install -m0755 $(WRKBUILD)/server/serv $(WRKINST)/usr/sbin/dhcpd6
|
|---|
| 32 | install -m0755 $(WRKBUILD)/server/*.conf $(WRKINST)/etc/dhcpd6/
|
|---|
| 33 | install -m0755 $(WRKBUILD)/client/*.conf $(WRKINST)/etc/dhcp6/
|
|---|
| 34 | touch $@
|
|---|
| 35 |
|
|---|
| 36 | $(IPKG_DHCP6):
|
|---|
| 37 | mkdir -p $(IDIR_DHCP6)
|
|---|
| 38 | $(CP) $(WRKINST)/* $(IDIR_DHCP6)/
|
|---|
| 39 | $(RSTRIP) $(IDIR_DHCP6)
|
|---|
| 40 | $(IPKG_BUILD) $(IDIR_DHCP6) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.