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:
830 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 1999 2005-09-29 10:43:31Z wbx $
|
|---|
| 2 | #
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=ipset
|
|---|
| 6 | PKG_VERSION:=2.2.3
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=http://ipset.netfilter.org
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
|
|---|
| 12 | WRKSRC:=${WRKDIR}/ipset-$(PKG_VERSION)
|
|---|
| 13 |
|
|---|
| 14 | include $(TOPDIR)/package/rules.mk
|
|---|
| 15 |
|
|---|
| 16 | $(eval $(call PKG_template,IPSET,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 17 |
|
|---|
| 18 | $(WRKBUILD)/.configured:
|
|---|
| 19 | touch $@
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.built:
|
|---|
| 22 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 23 | CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
|
|---|
| 24 | CFLAGS="$(TARGET_CFLAGS) -Wall -I$(LINUX_DIR)/include -I." \
|
|---|
| 25 | KERNEL_DIR=$(LINUX_DIR) PREFIX=/usr
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(IPKG_IPSET):
|
|---|
| 29 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 30 | DESTDIR=$(IDIR_IPSET) PREFIX=/usr install
|
|---|
| 31 | rm -rf $(IDIR_IPSET)/usr/man
|
|---|
| 32 | $(IPKG_BUILD) $(IDIR_IPSET) $(PACKAGE_DIR)
|
|---|
| 33 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.