blob: 6e3abc94876ce21eb7b0d5892682c615ba8014b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.6 2015/01/26 07:16:36 dbj Exp $
PKGNAME= libmirisdr-0.1
PKGREVISION= 2
DISTNAME= libmirisdr-${VERSION}
VERSION= 59ba372
CATEGORIES= ham
MASTER_SITES= -http://cgit.osmocom.org/libmirisdr/snapshot/libmirisdr-${VERSION}.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cgit.osmocom.org/libmirisdr/
COMMENT= Osmocom Mirics MSi2500 + MSi001 SDR library
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS= cmake pkg-config
USE_CMAKE= yes
# Suppress warning for developer
CMAKE_ARGS+= -Wno-dev
# Fix the shared libarary patchlevel
SHLIBPATCHLEVEL= 0
PLIST_SUBST+= SHLIBPATCHLEVEL=${SHLIBPATCHLEVEL:U0}
SUBST_CLASSES+= patchlevel
SUBST_STAGE.patchlevel= pre-configure
SUBST_MESSAGE.patchlevel= Fixing library version patchlevel
SUBST_FILES.patchlevel= CMakeLists.txt
SUBST_SED.patchlevel= -e 's,\(VERSION_INFO_PATCH_VERSION\) git,\1 ${SHLIBPATCHLEVEL:U0},'
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|