2016-04-07 14:10:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2016/04/07 12:10:55 wiedi Exp $
|
2015-08-09 08:25:06 +02:00
|
|
|
|
|
|
|
DISTNAME= rtl-sdr-0.5.3
|
2016-04-07 14:10:55 +02:00
|
|
|
PKGREVISION= 2
|
2014-10-13 15:05:36 +02:00
|
|
|
CATEGORIES= ham
|
2015-08-09 08:25:06 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=steve-m/}
|
|
|
|
GITHUB_PROJECT= librtlsdr
|
2015-09-02 22:56:23 +02:00
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2014-10-13 15:05:36 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://sdr.osmocom.org/trac/wiki/rtl-sdr
|
|
|
|
COMMENT= Turns your Realtek RTL2832 based DVB dongle into a SDR receiver
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
USE_LANGUAGES+= c c++
|
2016-01-26 17:22:01 +01:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2014-10-13 15:05:36 +02:00
|
|
|
|
2016-01-26 10:10:39 +01:00
|
|
|
USE_CMAKE= yes
|
|
|
|
CONFIGURE_DIRS=build
|
|
|
|
BUILD_DIRS=${CONFIGURE_DIRS}
|
|
|
|
CMAKE_ARG_PATH=..
|
2014-10-13 15:05:36 +02:00
|
|
|
|
2016-01-26 11:12:31 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= librtlsdr.pc.in
|
|
|
|
|
2014-10-13 15:05:36 +02:00
|
|
|
pre-configure:
|
2016-01-26 10:10:39 +01:00
|
|
|
${MKDIR} ${WRKSRC}/build
|
2014-10-13 15:05:36 +02:00
|
|
|
|
|
|
|
.include "../../devel/libusb1/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|