summaryrefslogtreecommitdiffstats
path: root/package/openswan
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:34:51 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:34:51 +0000
commitc4b73fa154ce47702ee9b3bbe621d8f079eb7fa5 (patch)
tree0f9b6c1a366e3cdca242f1fbebe68337d21e3b7b /package/openswan
parenta2f0b8eb3e1896bf83e696a4e06757c6ead43fd4 (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/openswan')
-rw-r--r--package/openswan/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index e6502c4aa..9e786156b 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -21,34 +21,41 @@ include $(INCLUDE_DIR)/package.mk
define Package/openswan/Default
TITLE:=Openswan
- DESCRIPTION:=\
- Openswan is an IPsec implementation for Linux.
URL:=http://www.openswan.org/
endef
+define Package/openswan/Default/description
+ Openswan is an IPsec implementation for Linux.
+endef
+
define Package/openswan
- $(call Package/openswan/Default)
+$(call Package/openswan/Default)
SECTION:=net
CATEGORY:=Network
DEPENDS:=@LINUX_2_4 +kmod-openswan +libgmp +ip
TITLE+= (daemon)
- DESCRIPTION+=\\\
- \\\
- This package contains the Openswan user-land daemon.
URL:=http://www.openswan.org/
endef
+define Package/openswan/description
+$(call Package/openswan/Default/description)
+ This package contains the Openswan user-land daemon.
+endef
+
define KernelPackage/openswan
+$(call Package/openswan/Default)
SUBMENU:=Network Support
- $(call Package/openswan/Default)
DEPENDS:=@LINUX_2_4
TITLE+= (kernel module)
- DESCRIPTION+=\\\
- \\\
- This package contains the Openswan kernel module.
FILES:=$(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX)
endef
+define KernelPackage/openswan/description
+$(call Package/openswan/Default/description)
+ This package contains the Openswan kernel module.
+endef
+
+
PKG_MAKE_OPTS:= \
LINUX_RELEASE="$(LINUX_RELEASE)" \
KERNELSRC="$(LINUX_DIR)" \