1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="Open source library for SPI/I2C control via FTDI chips"
9 HOMEPAGE
="https://github.com/l29ah/libmpsse"
11 if [[ ${PV} == *9999* ]]; then
13 EGIT_REPO_URI
="https://github.com/l29ah/libmpsse"
15 SRC_URI
="https://github.com/l29ah/libmpsse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS
="~x86 ~amd64"
23 RDEPEND
="dev-embedded/libftdi:0"
36 econf
--disable-python
40 emake DESTDIR
="${D}" install
44 dodoc ..
/docs
/AN_135_MPSSE_Basics.pdf
46 if use examples
; then
47 insinto
/usr
/share
/${PN}/