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:
894 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 3811 2006-05-21 11:51:56Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=ebtables
|
|---|
| 6 | PKG_VERSION:=2.0.6
|
|---|
| 7 | PKG_RELEASE:=2
|
|---|
| 8 | PKG_MD5SUM:=c4559af2366c764c6c42a3fdd40d60d3
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=@SF/ebtables
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
|---|
| 12 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/ebtables-v$(PKG_VERSION)
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,EBTABLES,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | touch $@
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.built:
|
|---|
| 23 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 24 | CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
|
|---|
| 25 | CFLAGS="$(TARGET_CFLAGS) -Wall"
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(IPKG_EBTABLES):
|
|---|
| 29 | install -d -m0755 $(IDIR_EBTABLES)/etc
|
|---|
| 30 | install -m0644 $(WRKBUILD)/ethertypes $(IDIR_EBTABLES)/etc/
|
|---|
| 31 | install -d -m0755 $(IDIR_EBTABLES)/usr/sbin
|
|---|
| 32 | install -m0755 $(WRKBUILD)/ebtables $(IDIR_EBTABLES)/usr/sbin/
|
|---|
| 33 | $(RSTRIP) $(IDIR_EBTABLES)
|
|---|
| 34 | $(IPKG_BUILD) $(IDIR_EBTABLES) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.