From 34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 7 Sep 2007 08:34:51 +0000 Subject: move package description to a separate definition, remove it when DESCRIPTION=TITLE SVN-Revision: 8659 --- package/openswan/Makefile | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'package/openswan') 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)" \ -- cgit v1.2.3