aboutsummaryrefslogtreecommitdiffstats
path: root/package/strongswan/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/strongswan/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/strongswan/Makefile')
-rw-r--r--package/strongswan/Makefile27
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)" \