pkgsrc/multimedia/libhdhomerun/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1 2013/04/01 21:08:38 jmcneill Exp $
#
DISTNAME= libhdhomerun_20130328
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= # TODO: (see mk/license.mk)
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"