petitboot package: fixed problem with installing extra data when GUI is disabled
[openwrt_packages.git] / utils / setpwc / Makefile
blobf19e45e5e1e75f30588c080e1c5cd353b9257db0
2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=setpwc
11 PKG_VERSION:=1.2
12 PKG_RELEASE:=1
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/
16 PKG_MD5SUM:=1bc721cdfcbac24027e2afc93685d29f
18 include $(INCLUDE_DIR)/package.mk
20 define Package/setpwc
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=Philips (and compatibles) WebCams (PWC) control utility
24 URL:=http://www.vanheusden.com/setpwc/
25 endef
27 define Package/setpwc/description
28 With setpwc you can set and list various settings of Philips (and
29 compatibles) WebCams with the 'PWC chipset'.
30 endef
32 define Build/Compile
33 $(TARGET_CC) $(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\" -o $(PKG_BUILD_DIR)/setpwc $(PKG_BUILD_DIR)/setpwc.c
34 endef
36 define Package/setpwc/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/setpwc $(1)/usr/bin/
39 endef
41 $(eval $(call BuildPackage,setpwc))