blob: 8d31071e499ded5fd9499d0f05d07f3c9fc30e92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="git://git.osmocom.org/libmirisdr"
inherit cmake git-r3
DESCRIPTION="Software for the Mirics MSi2500 + MSi001 SDR platform"
HOMEPAGE="http://cgit.osmocom.org/libmirisdr/"
LICENSE="GPL-2"
SLOT="0/${PV}"
IUSE="doc static-libs"
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_install() {
cmake_src_install
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmirisdr.a
}
|