dev-libs/ps2000a: Add drivers for ps2000A series to picoscope
[portage-overlay.git] / dev-libs / ps2000a / ps2000a-1.1.2.5.07.ebuild
1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sks/sks-1.1.4-r1.ebuild,v 1.2 2013/12/13 09:29:03 patrick Exp $
4
5 EAPI=5
6
7 inherit rpm
8
9 DESCRIPTION="PicoScope 2000A series Linux driver"
10 HOMEPAGE="http://www.picotech.com/picoscope-oscilloscope-software.html"
11 MY_V=(${PV//./ })
12 MY_PV=${MY_V[0]}"."${MY_V[1]}"."${MY_V[2]}"-"${MY_V[3]}"r"${MY_V[4]}
13 SRC_URI="amd64? ( http://labs.picotech.com/rpm/x86_64/lib${PN}-${MY_PV}.x86_64.rpm )"
14 LICENSE="PICO"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE=""
18
19 CDEPEND=""
20 DEPEND="${CDEPEND}"
21 RDEPEND="${CDEPEND}"
22
23 S="${WORKDIR}/"
24
25 src_unpack()
26 {
27     rpm_src_unpack ${A}
28 }
29
30 src_install()
31 {
32         insinto "/opt"
33         doins -r opt/*
34 }