diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-07 08:34:51 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-07 08:34:51 +0000 |
commit | c4b73fa154ce47702ee9b3bbe621d8f079eb7fa5 (patch) | |
tree | 0f9b6c1a366e3cdca242f1fbebe68337d21e3b7b /package/strongswan/Makefile | |
parent | a2f0b8eb3e1896bf83e696a4e06757c6ead43fd4 (diff) |
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)" \ |