summaryrefslogtreecommitdiff
path: root/package/xawtv/Makefile
blob: 4c3ba6d31f238e744a8312fe008e24af84dc9874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		xawtv
PKG_VERSION:=		3.103
PKG_RELEASE:=		1
PKG_HASH:=		2cf3a91b5d59a094bd86e101684a65c0e3d09225c11a787e060fa01bfbc8dd52
PKG_DESCR:=		video & webcam application
PKG_BUILDDEP:=		libXinerama v4l-utils
PKG_DEPENDS:=		libxinerama libv4l
PKG_SECTION:=		x11/apps
PKG_SITES:=		http://linuxtv.org/downloads/xawtv/

PKG_ARCH_DEPENDS:=	x86 x86_64

DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XAWTV,xawtv,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

AUTOTOOL_STYLE:=	autoreconf
XAKE_FLAGS:=		SUID_ROOT=-m755

xawtv-install:
	$(INSTALL_DIR) $(IDIR_XAWTV)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/xawtv \
		$(IDIR_XAWTV)/usr/bin
	$(INSTALL_DIR) $(IDIR_XAWTV)/usr/lib/xawtv
	$(CP) $(WRKINST)/usr/lib/xawtv/*.so \
		$(IDIR_XAWTV)/usr/lib/xawtv
	$(INSTALL_DIR) $(IDIR_XAWTV)/usr/share/xawtv
	$(CP) $(WRKINST)/usr/share/xawtv/* \
		$(IDIR_XAWTV)/usr/share/xawtv

include ${ADK_TOPDIR}/mk/pkg-bottom.mk