From: Florian Fainelli Date: Tue, 8 Aug 2006 12:25:46 +0000 (+0000) Subject: Port setpwc to -ng X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1838d7fc695b7ab273a44a684dbfb90adf884dbc;p=openwrt%2Fsvn-archive%2Farchive.git Port setpwc to -ng SVN-Revision: 4530 --- diff --git a/utils/setpwc/Config.in b/utils/setpwc/Config.in new file mode 100644 index 0000000000..19f32c641c --- /dev/null +++ b/utils/setpwc/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SETPWC + prompt "setpwc............................ Philips (and compatibles) WebCams (PWC) control utility" + tristate + default m if CONFIG_DEVEL + help + Philips (and compatibles) WebCams (PWC) control utility. + + http://www.vanheusden.com/setpwc/ + diff --git a/utils/setpwc/Makefile b/utils/setpwc/Makefile new file mode 100644 index 0000000000..7b2fd72d8c --- /dev/null +++ b/utils/setpwc/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=setpwc +PKG_VERSION:=1.0 +PKG_RELEASE:=1 +PKG_MD5SUM:=a125d76f630c4aab940df5912f161965 + +PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/setpwc + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Philips (and compatibles) WebCams (PWC) control utility + DESCRIPTION:=Philips (and compatibles) WebCams (PWC) control utility. + URL:=http://www.vanheusden.com/setpwc/ +endef + + +define Build/Compile + $(TARGET_CC) $(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\" -o $(PKG_BUILD_DIR)/setpwc $(PKG_BUILD_DIR)/setpwc.c +endef + +define Package/setpwc/install + install -d -m0755 $(1)/usr/bin + install -m0755 $(PKG_BUILD_DIR)/setpwc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,setpwc)) diff --git a/utils/setpwc/ipkg/setpwc.control b/utils/setpwc/ipkg/setpwc.control new file mode 100644 index 0000000000..1d7299a8d5 --- /dev/null +++ b/utils/setpwc/ipkg/setpwc.control @@ -0,0 +1,4 @@ +Package: setpwc +Priority: optional +Section: admin +Description: Philips (and compatibles) WebCams (PWC) control utility