freewrt_1_0
freewrt_2_0
| 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:= ipset
|
|---|
| 10 | PKG_VERSION:= 2.2.3
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 1709424cc2cdb925d4fb6fd5fcaefc26
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://ipset.netfilter.org
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}/ipset-$(PKG_VERSION)
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,IPSET,$(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 -I$(LINUX_DIR)/include -I." \
|
|---|
| 30 | KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr
|
|---|
| 31 | touch $@
|
|---|
| 32 |
|
|---|
| 33 | $(IPKG_IPSET):
|
|---|
| 34 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 35 | DESTDIR=$(IDIR_IPSET) PREFIX=/usr install
|
|---|
| 36 | rm -rf $(IDIR_IPSET)/usr/man
|
|---|
| 37 | $(RSTRIP) $(IDIR_IPSET)
|
|---|
| 38 | $(IPKG_BUILD) $(IDIR_IPSET) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.