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

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

Revision 1.8, Mon Aug 31 18:09:46 2020 UTC (3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.7: +2 -2 lines

*: bump PKGREVISION for perl-5.32.

# $NetBSD: Makefile,v 1.8 2020/08/31 18:09:46 wiz Exp $

DISTNAME=		osmo-sdr-0.1
PKGREVISION=		5
CATEGORIES=		ham
MASTER_SITES+=		http://cgit.osmocom.org/osmo-sdr/snapshot/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://osmocom.org/projects/sdr
COMMENT=		Small form-factor inexpensive SDR (Software Defined Radio)
LICENSE=		gnu-gpl-v2

USE_LANGUAGES=		c c++
USE_TOOLS=		cmake perl pkg-config tar
USE_CMAKE=		yes

#WRKSRC=		${WRKDIR}/osmo-sdr-0.1
# Suppress warning for developer
CMAKE_ARGS+=		-Wno-dev

REPLACE_PERL+=		utils/e4000_distance.pl
REPLACE_PERL+=		utils/e4000_pl.pl

CONFIGURE_DIRS=		software/libosmosdr
AUTO_MKDIRS=		yes

post-install:
	(cd ${WRKSRC}; tar cf - firmware fpga hardware utils | \
	(cd ${DESTDIR}${PREFIX}/share/osmo-sdr ; tar xf - ) )

.include	"../../devel/libusb1/buildlink3.mk"
.include	"../../mk/bsd.pkg.mk"