blob: ec8e2033ed6d25894e8c56863613a1905b228ce1 (
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
|
# $NetBSD: Makefile,v 1.7 2019/11/03 17:12:02 rillig Exp $
DISTNAME= libhdhomerun_20140121
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= multimedia
MASTER_SITES= http://download.silicondust.com/hdhomerun/
EXTRACT_SUFX= .tgz
MAINTAINER= jmcneill@NetBSD.org
HOMEPAGE= https://www.silicondust.com/
COMMENT= Client and library for Silicon Dust HD Homerun
LICENSE= gnu-lgpl-v2.1
USE_GCC_RUNTIME= yes
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/libhdhomerun
INSTALLATION_DIRS= bin lib include/hdhomerun
.include "../../mk/bsd.prefs.mk"
.if ${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} ${WRKSRC}/hdhomerun_config ${DESTDIR}${PREFIX}/bin/hdhomerun_config
${INSTALL_LIB} ${WRKSRC}/libhdhomerun.${SHLIBEXT} ${DESTDIR}${PREFIX}/lib/libhdhomerun.${SHLIBEXT}
.for h in ${INSTALL_HEADERS}
${INSTALL_DATA} ${WRKSRC}/${h} ${DESTDIR}${PREFIX}/include/hdhomerun/${h}
.endfor
.include "../../mk/bsd.pkg.mk"
|