3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=1709424cc2cdb925d4fb6fd5fcaefc26
10 PKG_SOURCE_URL
:=http
://ipset.netfilter.org
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-20050914.
tar.bz2
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ipset-
$(PKG_VERSION
)
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,IPSET
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
25 CFLAGS
="$(TARGET_CFLAGS) -Wall -I$(LINUX_DIR)/include -I." \
26 KERNEL_DIR
=$(LINUX_DIR
) PREFIX
=/usr
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
31 DESTDIR
=$(IDIR_IPSET
) PREFIX
=/usr
install
32 rm -rf
$(IDIR_IPSET
)/usr
/man
33 $(IPKG_BUILD
) $(IDIR_IPSET
) $(PACKAGE_DIR
)