From 2180fa92a1158fe8f660b3a69a8f9848309ce9b6 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/qc-usb/Makefile | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'package/qc-usb/Makefile') diff --git a/package/qc-usb/Makefile b/package/qc-usb/Makefile index 795ba96e82..3ae5061322 100644 --- a/package/qc-usb/Makefile +++ b/package/qc-usb/Makefile @@ -19,28 +19,36 @@ PKG_MD5SUM:=6f6787e1dda11ca3b936ad434154f426 include $(INCLUDE_DIR)/package.mk +define Package/qc-usb/Default + URL:=http://qce-ga.sourceforge.net/ +endef + define Package/qc-usb-utils +$(call Package/qc-usb/Default) SECTION:=utils CATEGORY:=Utilities TITLE:=Utility programs for the qc-usb kernel module - DESCRIPTION:=\ - Utilities to tweak parameters of your QuickCam Express or \\\ - similar webcam. These programs are completely useless without a \\\ - qc-usb-modules package. - URL:=http://qce-ga.sourceforge.net/ +endef + +define Package/qc-usb-utils/description + Utilities to tweak parameters of your QuickCam Express or similar webcam. + These programs are completely useless without a qc-usb-modules package. endef define KernelPackage/usb-qc +$(call Package/qc-usb/Default) TITLE:=Support for USB QuickCam Express webcam - DESCRIPTION:=\ - Kernel support for Logitech's QuickCam Express webcam and \\\ - other webcams with similar chipsets. SUBMENU:=USB Support DEPENDS:=@LINUX_2_6 @USB_SUPPORT kmod-usb-core +kmod-videodev FILES:=$(PKG_BUILD_DIR)/quickcam.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,90,quickcam) endef +define KernelPackage/usb-qc/description + Kernel support for Logitech's QuickCam Express webcam and other webcams + with similar chipsets. +endef + ifneq ($(CONFIG_PACKAGE_kmod-usb-qc),) define Build/Compile/kmod $(MAKE) -C $(LINUX_DIR) \ -- cgit v1.2.3