freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
832 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 2301 2005-10-25 03:12:26Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=arptables
|
|---|
| 6 | PKG_VERSION:=0.0.3
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=1672244603c8979577aa4738be35a759
|
|---|
| 9 | PKG_SOURCE_URL:=@SF/ebtables
|
|---|
| 10 | PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
|---|
| 11 | WRKSRC:=${WRKDIR}/$(PKG_NAME)-v$(PKG_VERSION)
|
|---|
| 12 |
|
|---|
| 13 | include $(TOPDIR)/package/rules.mk
|
|---|
| 14 |
|
|---|
| 15 | $(eval $(call PKG_template,ARPTABLES,arptables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 16 |
|
|---|
| 17 | $(WRKBUILD)/.configured:
|
|---|
| 18 | touch $@
|
|---|
| 19 |
|
|---|
| 20 | $(WRKBUILD)/.built:
|
|---|
| 21 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 22 | CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
|
|---|
| 23 | COPT_FLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 24 | KERNEL_DIR="./include/linux"
|
|---|
| 25 | touch $@
|
|---|
| 26 |
|
|---|
| 27 | $(IPKG_ARPTABLES):
|
|---|
| 28 | install -d -m0755 $(IDIR_ARPTABLES)/usr/sbin
|
|---|
| 29 | install -m0755 $(WRKBUILD)/arptables $(IDIR_ARPTABLES)/usr/sbin/
|
|---|
| 30 | $(RSTRIP) $(IDIR_ARPTABLES)
|
|---|
| 31 | $(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.