[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / ham / gr-fcdproplus

File: [cvs.NetBSD.org] / pkgsrc / ham / gr-fcdproplus / Makefile (download)

Revision 1.18, Thu May 14 19:22:01 2020 UTC (6 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.17: +4 -1 lines

cmake logic only supports Python 2.7.

# $NetBSD: Makefile,v 1.18 2020/05/14 19:22:01 joerg Exp $

DISTNAME=		gr-fcdproplus_3.7.11.orig
PKGNAME=		${DISTNAME:S/_/-/S/.orig//}
PKGREVISION=		15
CATEGORIES=		ham
MASTER_SITES+=		${MASTER_SITE_DEBIAN:=pool/main/g/gr-fcdproplus/}
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://github.com/dl1ksv/gr-fcdproplus
COMMENT=		Addon for funcube dongle pro+ to GNU Radio
LICENSE=		gnu-gpl-v2

USE_LANGUAGES=		c c++
USE_TOOLS=		cmake
USE_CMAKE=		yes

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
CXXFLAGS+=		-I${PREFIX}/include/libusb-1.0

# Suppress warning for developer
CMAKE_ARGS+=		-Wno-dev
CMAKE_ARGS+=		-DGNURADIO_RUNTIME_INCLUDE_DIRS=${PREFIX}/include
PLIST_SUBST+=		PYSITELIB=${PYSITELIB}

CFLAGS+=		-I${PREFIX}/include/libusb-1.0

# Old-style print use via cmake
PYTHON_VERSIONS_ACCEPTED=	27

.include	"../../devel/boost-headers/buildlink3.mk"
.include	"../../devel/boost-libs/buildlink3.mk"
.include	"../../devel/libusb1/buildlink3.mk"
.include	"../../lang/python/application.mk"
.include	"../../lang/python/pyversion.mk"
.include 	"../../ham/gnuradio-core/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"