summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-23 13:26:33 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-23 13:26:33 +0000
commitcb945ac420ef44f4a57ad8486c0e668639eb3c19 (patch)
treea6f146975227227e089922ef6413662f154874cf
parent5ada9621ea365ed4d7a6f190e72dac758dd99022 (diff)
standardize Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4812 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ipset/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index 92d0570b3..30fafb8e5 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -21,20 +21,23 @@ PKG_CAT:=bzcat
include $(INCLUDE_DIR)/package.mk
define Package/ipset
-SECTION:=base
-CATEGORY:=Network
-TITLE:=Netfilter ip sets administration utility
-DESCRIPTION:=Netfilter ip sets administration utility
-URL:=http://ipset.netfilter.org/
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=Netfilter ip sets administration utility
+ URL:=http://ipset.netfilter.org/
endef
define Build/Compile
-$(call Build/Compile/Default,KERNEL_DIR=$(LINUX_DIR))
+ $(call Build/Compile/Default, \
+ KERNEL_DIR="$(LINUX_DIR)" \
+ )
endef
define Package/ipset/install
$(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR=$(1) PREFIX=/usr install
+ DESTDIR="$(1)" \
+ PREFIX="/usr" \
+ install
rm -rf $(1)/usr/man
endef