blob: 2a0bebe5e4f9910089fc1f7f688f15b177f97b7c (
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
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.2 2014/05/10 22:37:51 jakllsch Exp $
#
DISTNAME= libhdhomerun_20140121
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= multimedia
MASTER_SITES= http://download.silicondust.com/hdhomerun/
EXTRACT_SUFX= .tgz
MAINTAINER= jmcneill@NetBSD.org
HOMEPAGE= http://www.silicondust.com
COMMENT= Client and library for Silicon Dust HD Homerun
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/libhdhomerun
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
SHLIBEXT= dylib
.else
SHLIBEXT= so
.endif
PLIST_SUBST+= SHLIBEXT=${SHLIBEXT}
INSTALL_HEADERS=hdhomerun.h \
hdhomerun_channelscan.h \
hdhomerun_channels.h \
hdhomerun_control.h \
hdhomerun_debug.h \
hdhomerun_device.h \
hdhomerun_device_selector.h \
hdhomerun_discover.h \
hdhomerun_os.h \
hdhomerun_os_posix.h \
hdhomerun_os_windows.h \
hdhomerun_pkt.h \
hdhomerun_sock.h \
hdhomerun_types.h \
hdhomerun_video.h
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/hdhomerun_config ${DESTDIR}${PREFIX}/bin/hdhomerun_config
${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libhdhomerun.${SHLIBEXT} ${DESTDIR}${PREFIX}/lib/libhdhomerun.${SHLIBEXT}
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/hdhomerun
.for h in ${INSTALL_HEADERS}
${INSTALL_DATA} ${WRKSRC}/${h} ${DESTDIR}${PREFIX}/include/hdhomerun/${h}
.endfor
.include "../../mk/bsd.pkg.mk"
|