standardize Makefile, change section from base to net
authorNicolas Thill <nico@openwrt.org>
Sat, 23 Sep 2006 13:47:09 +0000 (13:47 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 23 Sep 2006 13:47:09 +0000 (13:47 +0000)
SVN-Revision: 4824

openwrt/package/ipsec-tools/Makefile

index 3548590..d45a40e 100644 (file)
@@ -24,16 +24,15 @@ include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 define Package/ipsec-tools
-SECTION:=base
-CATEGORY:=Network
-DEPENDS:=@LINUX_2_6 +libopenssl
-TITLE:=IPsec management tools
-DESCRIPTION:=IPsec management tools
-URL:=http://ipsec-tools.sourceforge.net/
+  SECTION:=net
+  CATEGORY:=Network
+  DEPENDS:=@LINUX_2_6 +libopenssl
+  TITLE:=IPsec management tools
+  URL:=http://ipsec-tools.sourceforge.net/
 endef
 
 define Build/Configure
-       (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
+       (cd $(PKG_BUILD_DIR); rm -f config.cache; \
                touch configure.ac; \
                touch aclocal.m4; \
                touch Makefile.in; \
@@ -78,7 +77,10 @@ define Build/Configure
 endef
 
 define Build/Compile
-       $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
+       $(call Build/Compile/Default, \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install \
+       )
 endef
 
 define Package/ipsec-tools/install