[package] strip down gstreamer, package more modules (#6320)
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=spcaview
11 PKG_VERSION:=20071224
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
16 PKG_MD5SUM:=12e46424844b937dd55eab28f74bcd8d
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/spcacat
21 SECTION:=multimedia
22 CATEGORY:=Multimedia
23 TITLE:=SPCA5xx webcam spcacat utility
24 DEPENDS:=+libpthread
25 URL:=http://mxhaard.free.fr/spca50x
26 endef
27
28 define Build/Compile
29 $(MAKE) -C $(PKG_BUILD_DIR) \
30 CC="$(TARGET_CC)" \
31 SERVFLAGS="$(TARGET_CFLAGS) -DLINUX" \
32 spcacat
33 endef
34
35 define Package/spcacat/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(CP) $(PKG_BUILD_DIR)/spcacat $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,spcacat))