blob: 4b1fa83f10e4506200df10a3b24b6e6d1835516d (
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
|
# $NetBSD: Makefile,v 1.2 2008/09/17 14:04:54 joerg Exp $
DISTNAME= libv4l-0.4.3
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://people.atrpms.net/~hdegoede/
MAINTAINER= jmcneill@NetBSD.org
HOMEPAGE= http://people.atrpms.net/~hdegoede/
COMMENT= Video4Linux userspace library
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && !exists(/usr/include/sys/videoio.h)
PLIST.needs_videoio= yes
INSTALLATION_DIRS+= include/sys
pre-configure:
${MKDIR} ${WRKSRC}/include/sys
cp ${FILESDIR}/videoio.h ${WRKSRC}/include/sys
post-install:
${INSTALL_DATA} ${FILESDIR}/videoio.h ${DESTDIR}${PREFIX}/include/sys
.endif
PLIST_VARS= needs_videoio
.include "../../mk/bsd.pkg.mk"
|