freewrt_1_0
freewrt_2_0
|
Last change
on this file since aae7eb1 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:
993 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= arptables
|
|---|
| 10 | PKG_VERSION:= 0.0.3
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 1672244603c8979577aa4738be35a759
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/ebtables
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}/$(PKG_NAME)-v$(PKG_VERSION)
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,ARPTABLES,arptables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.configured:
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 28 | CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
|
|---|
| 29 | COPT_FLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 30 | KERNEL_DIR="./include/linux"
|
|---|
| 31 | touch $@
|
|---|
| 32 |
|
|---|
| 33 | $(IPKG_ARPTABLES):
|
|---|
| 34 | $(INSTALL_DIR) $(IDIR_ARPTABLES)/usr/sbin
|
|---|
| 35 | $(INSTALL_BIN) $(WRKBUILD)/arptables $(IDIR_ARPTABLES)/usr/sbin/
|
|---|
| 36 | $(RSTRIP) $(IDIR_ARPTABLES)
|
|---|
| 37 | $(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.