Put libXmuu into its own package.
[openwrt/svn-archive/archive.git] / multimedia / spcaview / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=spcaview
12 PKG_VERSION:=20071224
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
17 PKG_MD5SUM:=12e46424844b937dd55eab28f74bcd8d
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/spcacat
22 SECTION:=multimedia
23 CATEGORY:=Multimedia
24 TITLE:=SPCA5xx webcam spcacat utility
25 DEPENDS:=+libpthread
26 URL:=http://mxhaard.free.fr/spca50x
27 endef
28
29 define Build/Compile
30 $(MAKE) -C $(PKG_BUILD_DIR) \
31 CC="$(TARGET_CC)" \
32 SERVFLAGS="$(TARGET_CFLAGS) -DLINUX" \
33 spcacat
34 endef
35
36 define Package/spcacat/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(CP) $(PKG_BUILD_DIR)/spcacat $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,spcacat))