mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
libmpsse: initial ebuild, issue #75
This commit is contained in:
parent
80002829b4
commit
8527583d63
3 changed files with 47 additions and 0 deletions
1
dev-embedded/libmpsse/Manifest
Normal file
1
dev-embedded/libmpsse/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST libmpsse-1.3_p20150711.zip 657267 SHA256 9599fda1dc2057d931088dc6b19da08d481edac0e0c330188bfb76e02778b303 SHA512 67ae73f11df0e6bb947ed32824dad8b8e9fc7446d23de1dd51fc55cf68c4475d2dce65c882589e26bb1bd9fd87ba9565df577f790c768813075c8d2bbe89c97e WHIRLPOOL 3a87ca9006681b5654757abe733c06b9d638266e7ff317370f881dda5516b373557b651dcac15edbeaa18cd17ef9f03d6337790ff8f25eff292628b7d5eb4118
|
||||
44
dev-embedded/libmpsse/libmpsse-1.3_p20150711.ebuild
Normal file
44
dev-embedded/libmpsse/libmpsse-1.3_p20150711.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_COMMIT="f1a6744b220d4e7b2c8719e705f56d8c171a6a32"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Open source library for SPI/I2C control via FTDI chips"
|
||||
HOMEPAGE="https://code.google.com/p/libmpsse"
|
||||
SRC_URI="https://github.com/devttys0/libmpsse/archive/${EGIT_COMMIT}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="doc example python"
|
||||
|
||||
RDEPEND="dev-embedded/libftdi:0"
|
||||
DEPEND="dev-lang/swig
|
||||
${RDEPEND}"
|
||||
|
||||
#https://github.com/devttys0/libmpsse/issues/16
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}/src"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable python )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc ../docs/README*
|
||||
if use doc ; then
|
||||
dodoc ../docs/AN_135_MPSSE_Basics.pdf
|
||||
fi
|
||||
if use example ; then
|
||||
insinto /usr/share/${PN}/
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
|
@ -13,3 +13,5 @@
|
|||
#required by "net-wireless/rfidler
|
||||
~dev-embedded/mphidflash-1.6
|
||||
|
||||
dev-embedded/libmpsse
|
||||
dev-embedded/libftdi:0
|
||||
|
|
|
|||
Loading…
Reference in a new issue