32 lines
874 B
Makefile
32 lines
874 B
Makefile
|
# $NetBSD: Makefile,v 1.1 2015/02/13 11:12:23 jmcneill Exp $
|
||
|
|
||
|
DISTNAME= libcec-2.2.0-repack
|
||
|
PKGNAME= libcec-2.2.0
|
||
|
CATEGORIES= misc
|
||
|
MASTER_SITES= https://github.com/Pulse-Eight/libcec/archive/
|
||
|
|
||
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
||
|
HOMEPAGE= http://libcec.pulse-eight.com/
|
||
|
COMMENT= USB CEC Adapter communication Library
|
||
|
LICENSE= gnu-gpl-v2
|
||
|
|
||
|
WRKSRC= ${WRKDIR}/libcec-libcec-2.2.0-repack
|
||
|
GNU_CONFIGURE= yes
|
||
|
USE_TOOLS+= pkg-config gmake autoconf automake autoreconf
|
||
|
USE_LANGUAGES= c c++
|
||
|
USE_LIBTOOL= yes
|
||
|
|
||
|
PKGCONFIG_OVERRIDE+= src/lib/libcec.pc.in
|
||
|
|
||
|
pre-configure:
|
||
|
cd ${WRKSRC} && autoreconf -fi
|
||
|
|
||
|
.if !empty(MACHINE_ARCH:M*arm*)
|
||
|
CONFIGURE_ARGS+= --with-rpi-include-path=${PREFIX}/include
|
||
|
CONFIGURE_ARGS+= --with-rpi-lib-path=${PREFIX}/lib
|
||
|
.include "../../misc/raspberrypi-userland/buildlink3.mk"
|
||
|
.endif
|
||
|
|
||
|
.include "../../x11/libXrandr/buildlink3.mk"
|
||
|
.include "../../mk/bsd.pkg.mk"
|