aboutsummaryrefslogtreecommitdiffstats
path: root/package/setpwc
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-09-12 03:43:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-09-12 03:43:09 +0000
commiteffb985daa75126dc9b7f120fc5f15e505f28075 (patch)
tree10cd5d9346d2c05dc81010696f9c8201fc0528df /package/setpwc
parent208941ceaeec5488d0a61e4025d4e5a3ae53170e (diff)
downloadupstream-effb985daa75126dc9b7f120fc5f15e505f28075.tar.gz
upstream-effb985daa75126dc9b7f120fc5f15e505f28075.tar.bz2
upstream-effb985daa75126dc9b7f120fc5f15e505f28075.zip
add setpwc package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/setpwc')
-rw-r--r--package/setpwc/Config.in9
-rw-r--r--package/setpwc/Makefile32
-rw-r--r--package/setpwc/ipkg/setpwc.control8
3 files changed, 49 insertions, 0 deletions
diff --git a/package/setpwc/Config.in b/package/setpwc/Config.in
new file mode 100644
index 0000000000..dcf134631c
--- /dev/null
+++ b/package/setpwc/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_SETPWC
+ tristate "setpwc - Philips (and compatibles) WebCams (PWC) control utility"
+# default m if CONFIG_DEVEL
+ default n
+ help
+ Philips (and compatibles) WebCams (PWC) control utility.
+
+ http://www.vanheusden.com/setpwc/
+
diff --git a/package/setpwc/Makefile b/package/setpwc/Makefile
new file mode 100644
index 0000000000..dbd41c5bc7
--- /dev/null
+++ b/package/setpwc/Makefile
@@ -0,0 +1,32 @@
+# $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 $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,SETPWC,setpwc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(TARGET_CC) $(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\" -o $(PKG_BUILD_DIR)/setpwc $(PKG_BUILD_DIR)/setpwc.c
+ touch $@
+
+$(IPKG_SETPWC):
+ install -d -m0755 $(IDIR_SETPWC)/usr/bin
+ install -m0755 $(PKG_BUILD_DIR)/setpwc $(IDIR_SETPWC)/usr/bin/
+ $(RSTRIP) $(IDIR_SETPWC)
+ $(IPKG_BUILD) $(IDIR_SETPWC) $(PACKAGE_DIR)
diff --git a/package/setpwc/ipkg/setpwc.control b/package/setpwc/ipkg/setpwc.control
new file mode 100644
index 0000000000..ad14825841
--- /dev/null
+++ b/package/setpwc/ipkg/setpwc.control
@@ -0,0 +1,8 @@
+Package: setpwc
+Priority: optional
+Section: admin
+Version: [TBDL]
+Architecture: [TBDL]
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/setpwc/
+Description: Philips (and compatibles) WebCams (PWC) control utility