aboutsummaryrefslogtreecommitdiffstats
path: root/package/openswan/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
commit34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a (patch)
treed03a529733bb0260835cc50a4592b3e9b3f62dde /package/openswan/Makefile
parent3e2f44481fc0c353cc53c3a70b8a59d2ce0c6b60 (diff)
downloadupstream-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.gz
upstream-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.bz2
upstream-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.zip
move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
Diffstat (limited to 'package/openswan/Makefile')
-rw-r--r--package/openswan/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index e6502c4aad..9e786156b7 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)" \