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

diff --git a/dev-libs/ps3000a/Manifest b/dev-libs/ps3000a/Manifest
new file mode 100644 (file)
index 0000000..ccced1b
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps3000a-1.4.2-6r04.x86_64.rpm 1686619 SHA256 9255ad9757dabd1d8890152e1f2829739561df25bb09974cf43f7c49372e3e8a SHA512 ac924a761be1605cc9a0b9e2e21f7108fdc912d7c93eaad516ef1b17eaa6dffd3eb719ee634a28a07e06cd3f9dc05fc1f42a35d2c26f0f457aec0fda0ed4f7fd WHIRLPOOL 36f6cdca8749ae25cf20c7f9195d2e8e7c0e8812713fc23205708a1302ea427464dabd0a6c495ca5d223bfcf3d975275f6d60b30a2a2f1f0875fde89be33b24d
+EBUILD ps3000a-1.4.2.6.04.ebuild 745 SHA256 bbacafee96a44447befbf36482631d187e75dccc98136e689f0208be55be8097 SHA512 d4c8a7b05d6634987419acefb076b4da5a1abe64a97fb5fcb48b9f8e1b24febf781633d8f04f00b89b1afe86b05273264e48900ef1cf2a42454285a681f3e464 WHIRLPOOL 1a4aae07245121474ab2b0e9d142a3e459b63ea1f56f7e361f9d4ebcea4673b01209f3777675ffff16470566021e63e6e5ee4f09e31950db8f525f65e533efe7
diff --git a/dev-libs/ps3000a/ps3000a-1.4.2.6.04.ebuild b/dev-libs/ps3000a/ps3000a-1.4.2.6.04.ebuild
new file mode 100644 (file)
index 0000000..cf891f8
--- /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 3000A 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/*
+}