dev-libs/ps4000: Add drivers for ps4000 series to picoscope
authorkristianf <devnull@localhost>
Mon, 8 Sep 2014 15:51:02 +0000 (17:51 +0200)
committerkristianf <devnull@localhost>
Mon, 8 Sep 2014 15:51:02 +0000 (17:51 +0200)
dev-libs/ps4000/Manifest [new file with mode: 0644]
dev-libs/ps4000/ps4000-1.2.2.2.06.ebuild [new file with mode: 0644]

diff --git a/dev-libs/ps4000/Manifest b/dev-libs/ps4000/Manifest
new file mode 100644 (file)
index 0000000..7b33ef9
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps4000-1.2.2-2r06.x86_64.rpm 508668 SHA256 42d67605a61920f2803e3f5b149e2ada1d63fae51f5325e2d3ba92909026ee94 SHA512 5216a227b7f3186820810d85cc1b10338a6ad56e457034befd298e2d3902283daee0f1125921ed130950e8b3759fdf379338ae8c93873630dd4737e4e82c7b47 WHIRLPOOL d858419002e1783509e5981e06c92aea4c47a177dd7259ab97da6a1b2ae401e67d50a97689136db7c5ab74780c04645ba101a79f94441c080e25cdaf8a86479c
+EBUILD ps4000-1.2.2.2.06.ebuild 744 SHA256 5c8128b939ce7c3f8ae751bf6e0971c6996d97367d66611f9fbe97cc155a833c SHA512 13b7ed64cbef6c87a4a4f162548756f1b74306d3f6374d389163596c80f830fd1a912b9fab32ca93cd1e21aa7f38996daf1de098c53aa91f18a464fab1678dab WHIRLPOOL 42ef7253da6a98b6707b7168b7a78f0ee72c46553144ca2c6ec8ba1e797785774b2e21416d4bd9ace10cb65f1409e0962bd93d80700a4b7d99d54f6178afa428
diff --git a/dev-libs/ps4000/ps4000-1.2.2.2.06.ebuild b/dev-libs/ps4000/ps4000-1.2.2.2.06.ebuild
new file mode 100644 (file)
index 0000000..2d3a1b1
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=5
+
+inherit rpm
+
+DESCRIPTION="PicoScope 4000 series Linux driver"
+HOMEPAGE="http://www.picotech.com/picoscope-oscilloscope-software.html"
+MY_V=(${PV//./ })
+MY_PV=${MY_V[0]}"."${MY_V[1]}"."${MY_V[2]}"-"${MY_V[3]}"r"${MY_V[4]}
+SRC_URI="amd64? ( http://labs.picotech.com/rpm/x86_64/lib${PN}-${MY_PV}.x86_64.rpm )"
+LICENSE="PICO"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+CDEPEND=""
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/"
+
+src_unpack()
+{
+    rpm_src_unpack ${A}
+}
+
+src_install()
+{
+       insinto "/opt"
+       doins -r opt/*
+}