summaryrefslogtreecommitdiff
path: root/multimedia/dvb-apps/Makefile
blob: a86cee9a357ca5d9c756bddd090f7381feb5aef3 (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
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.3 2012/06/21 05:26:01 dholland Exp $
#

PKGNAME=	dvb-apps-20110713
PKGREVISION=	1
DISTNAME=	148ede2a6809
DIST_SUBDIR=	dvb-apps
CATEGORIES=	multimedia
MASTER_SITES=	http://linuxtv.org/hg/dvb-apps/archive/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://linuxtv.org/
COMMENT=	Digital Video Broadcasting (DVB) applications

PKG_DESTDIR_SUPPORT=	user-destdir

# netbsd-5 does not have dev/dtv/dtvio.h or its associated functionality.
# (allow 5.99.* as relatively recent 5.99 may still be in use and should work)
NOT_FOR_PLATFORM+=	NetBSD-5.[0-8]*

USE_TOOLS+=	gmake perl

WRKSRC=	${WRKDIR}/dvb-apps-148ede2a6809

do-build:
	cd ${WRKSRC}/lib/libdvbapi && gmake prefix=${PREFIX}
	cd ${WRKSRC}/lib/libucsi && gmake prefix=${PREFIX}
	cd ${WRKSRC}/util/atsc_epg&& gmake prefix=${PREFIX}
	cd ${WRKSRC}/util/dvbdate && gmake prefix=${PREFIX}
	cd ${WRKSRC}/util/scan && gmake prefix=${PREFIX}
	cd ${WRKSRC}/util/szap && gmake prefix=${PREFIX}

do-install:
	cd ${WRKSRC}/lib/libdvbapi && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install
	cd ${WRKSRC}/lib/libucsi && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install
	cd ${WRKSRC}/util/atsc_epg && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install
	cd ${WRKSRC}/util/dvbdate && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install
	cd ${WRKSRC}/util/scan && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install
	cd ${WRKSRC}/util/szap && \
		gmake DESTDIR=${DESTDIR} prefix=${PREFIX} install

.include "../../mk/bsd.pkg.mk"