summaryrefslogtreecommitdiff
path: root/openwrt
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
commitb6742fdb330d4cfe8e4a22a07a5265662fd44d8a (patch)
tree47d0e9af1661541a06f72bbcbcd09ed6e2cb1578 /openwrt
parented63f88792838e00d84f08af44e8cb34c0219e44 (diff)
downloadmtk-20170518-b6742fdb330d4cfe8e4a22a07a5265662fd44d8a.zip
mtk-20170518-b6742fdb330d4cfe8e4a22a07a5265662fd44d8a.tar.gz
mtk-20170518-b6742fdb330d4cfe8e4a22a07a5265662fd44d8a.tar.bz2
add setpwc package
SVN-Revision: 1908
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/Config.in1
-rw-r--r--openwrt/package/Makefile1
-rw-r--r--openwrt/package/setpwc/Config.in9
-rw-r--r--openwrt/package/setpwc/Makefile32
-rw-r--r--openwrt/package/setpwc/ipkg/setpwc.control8
5 files changed, 51 insertions, 0 deletions
diff --git a/openwrt/package/Config.in b/openwrt/package/Config.in
index 58c24c6..995c52d 100644
--- a/openwrt/package/Config.in
+++ b/openwrt/package/Config.in
@@ -174,6 +174,7 @@ comment "Multimedia ---"
source "package/gmediaserver/Config.in"
source "package/mt-daapd/Config.in"
source "package/mpd/Config.in"
+source "package/setpwc/Config.in"
comment "Serial communications & terminal emulation ---"
source "package/microcom/Config.in"
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 2cb00f2..f1da9de 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -146,6 +146,7 @@ package-$(BR2_COMPILE_SAMBA) += samba
package-$(BR2_PACKAGE_SCREEN) += screen
package-$(BR2_PACKAGE_SDK) += sdk
package-$(BR2_PACKAGE_SER) += ser
+package-$(BR2_PACKAGE_SETPWC) += setpwc
package-$(BR2_PACKAGE_SETSERIAL) += setserial
package-$(BR2_PACKAGE_SHAT) += shat
package-$(BR2_PACKAGE_SHFS) += shfs
diff --git a/openwrt/package/setpwc/Config.in b/openwrt/package/setpwc/Config.in
new file mode 100644
index 0000000..dcf1346
--- /dev/null
+++ b/openwrt/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/openwrt/package/setpwc/Makefile b/openwrt/package/setpwc/Makefile
new file mode 100644
index 0000000..dbd41c5
--- /dev/null
+++ b/openwrt/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/openwrt/package/setpwc/ipkg/setpwc.control b/openwrt/package/setpwc/ipkg/setpwc.control
new file mode 100644
index 0000000..ad14825
--- /dev/null
+++ b/openwrt/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