You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
629 B
26 lines
629 B
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit cmake
|
|
|
|
DESCRIPTION="USB3380 abstraction layer for libusb"
|
|
HOMEPAGE="https://github.com/xtrx-sdr/libusb3380"
|
|
if [ "${PV}" = "9999" ]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/xtrx-sdr/libusb3380.git"
|
|
else
|
|
COMMIT="c83d1e93eb3a5b8b6a9db41c2613b206f344f825"
|
|
SRC_URI="https://github.com/xtrx-sdr/libusb3380/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
KEYWORDS="~amd64 ~x86"
|
|
fi
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
DEPEND="virtual/libusb:1"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|