sctp: moved to github
[packages.git] / utils / setpwc / Makefile
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=setpwc
11 PKG_VERSION:=1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc
16 PKG_MD5SUM:=79d5ee468c0076feb3cac473bef661d2
17
18 include $(INCLUDE_DIR)/package.mk
19
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   DEPENDS:=+kmod-video-pwc
26 endef
27
28 define Package/setpwc/description
29         With setpwc you can set and list various settings of Philips (and
30         compatibles) WebCams with the 'PWC chipset'.
31 endef
32
33 define Build/Compile
34         $(TARGET_CC) $(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\" -o $(PKG_BUILD_DIR)/setpwc $(PKG_BUILD_DIR)/setpwc.c
35 endef
36
37 define Package/setpwc/install
38         $(INSTALL_DIR) $(1)/usr/bin
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/setpwc $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,setpwc))