diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-09-07 08:34:51 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-09-07 08:34:51 +0000 |
commit | 2180fa92a1158fe8f660b3a69a8f9848309ce9b6 (patch) | |
tree | 0f9b6c1a366e3cdca242f1fbebe68337d21e3b7b /package/strongswan/Makefile | |
parent | f2b24749083122a565ebf96a9143cb763d17345e (diff) | |
download | master-187ad058-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.tar.gz master-187ad058-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.tar.bz2 master-187ad058-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.zip |
move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/strongswan/Makefile')
-rw-r--r-- | package/strongswan/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile index 286b0bb60a..29b1c15041 100644 --- a/package/strongswan/Makefile +++ b/package/strongswan/Makefile @@ -22,35 +22,40 @@ include $(INCLUDE_DIR)/package.mk define Package/strongswan/Default TITLE:=strongSwan DEPENDS:=@LINUX_2_4 - DESCRIPTION:=\ - strongSwan is an IPsec implementation for Linux. URL:=http://www.strongswan.org/ endef +define Package/strongswan/Default/descritpion + strongSwan is an IPsec implementation for Linux. +endef + define Package/strongswan - $(call Package/strongswan/Default) +$(call Package/strongswan/Default) SECTION:=net CATEGORY:=Network DEPENDS:=+kmod-strongswan +libgmp @LINUX_2_4 TITLE+= (daemon) - DESCRIPTION+=\\\ - \\\ - This package contains the strongSwan user-land daemon. - URL:=http://www.strongswan.org/ +endef + +define Package/strongswan/description +$(call Package/strongswan/Default/description) + This package contains the strongSwan user-land daemon. endef define KernelPackage/strongswan +$(call Package/strongswan/Default) SUBMENU:=Network Support - $(call Package/strongswan/Default) TITLE+= (kernel module) DEPENDS:=@LINUX_2_4 - DESCRIPTION+=\\\ - \\\ - This package contains the strongSwan kernel module. FILES:=$(PKG_BUILD_DIR)/linux/net/ipsec/ipsec.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,ipsec) endef +define KernelPackage/strongswan/description +$(call Package/strongswan/Default/description) + This package contains the strongSwan kernel module. +endef + PKG_MAKE_OPTS:= \ LINUX_RELEASE="$(LINUX_RELEASE)" \ KERNELSRC="$(LINUX_DIR)" \ |