diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-09-07 08:34:51 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-09-07 08:34:51 +0000 |
commit | 34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a (patch) | |
tree | d03a529733bb0260835cc50a4592b3e9b3f62dde /package/openswan | |
parent | 3e2f44481fc0c353cc53c3a70b8a59d2ce0c6b60 (diff) | |
download | mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.zip mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.gz mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.bz2 |
move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
Diffstat (limited to 'package/openswan')
-rw-r--r-- | package/openswan/Makefile | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile index e6502c4..9e78615 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)" \ |