summaryrefslogtreecommitdiff
path: root/multimedia/dvb-apps/Makefile
blob: a87787b35216db3c6d15ba9dd6623f10b35cd105 (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
# $NetBSD: Makefile,v 1.6 2013/05/31 12:41:30 wiz Exp $
#

PKGNAME=	dvb-apps-20110713
PKGREVISION=	3
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

# 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"