freewrt_2_0
|
Last change
on this file 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.0 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:= ebtables
|
|---|
| 10 | PKG_VERSION:= 2.0.6
|
|---|
| 11 | PKG_RELEASE:= 2
|
|---|
| 12 | PKG_MD5SUM:= c4559af2366c764c6c42a3fdd40d60d3
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/ebtables
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}/ebtables-v$(PKG_VERSION)
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,EBTABLES,$(PKG_NAME),$(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 | CFLAGS="$(TARGET_CFLAGS) -Wall"
|
|---|
| 30 | touch $@
|
|---|
| 31 |
|
|---|
| 32 | $(IPKG_EBTABLES):
|
|---|
| 33 | install -d -m0755 $(IDIR_EBTABLES)/etc
|
|---|
| 34 | install -m0644 $(WRKBUILD)/ethertypes $(IDIR_EBTABLES)/etc/
|
|---|
| 35 | install -d -m0755 $(IDIR_EBTABLES)/usr/sbin
|
|---|
| 36 | install -m0755 $(WRKBUILD)/ebtables $(IDIR_EBTABLES)/usr/sbin/
|
|---|
| 37 | $(RSTRIP) $(IDIR_EBTABLES)
|
|---|
| 38 | $(IPKG_BUILD) $(IDIR_EBTABLES) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.