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

diff --git a/dev-libs/ps4000a/Manifest b/dev-libs/ps4000a/Manifest
new file mode 100644 (file)
index 0000000..7629cb8
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps4000a-1.0.2-2r07.x86_64.rpm 1080473 SHA256 7f786c233a7674ebfd28691987365ac29a3f4e137deac54235bb16caabe30c95 SHA512 0299a3840ccbf79e61a8166ba7757b45644fe224cb2db6781556973e1741b98e182ff7a53e85e4c838101a94e5fbf043a36afbcf9ae2c102608e7717757f1af5 WHIRLPOOL e0004e40022f3718704a835c39c98eb519ade47b0c8d4153e0cd40fceba9701fbca4e5774a0a8c40654a004364c401a6713d7d3e7bc25f11b04d14ab0f1e1a54
+EBUILD ps4000a-1.0.2.2.07.ebuild 744 SHA256 3ef6f8130f1354638d9aec1f6aca777f5773cab5c135542571ce6fc7ba2ca151 SHA512 cdc2e12e10dde42adbfd28440ef07170da0498fbbd744854f9ad9be780a104f1788d073425d0b1e28a467dfcdd27e0a8e227a2b6becc450a30f5196593a7a36e WHIRLPOOL 39d0a84ed73ce6242bf89789a36ba69b2bb6072187b4b4e666430acb78819b4a660c9957409abf4391ae5b22d7b70b65709b7dfff5e3a8ddac626e8efe8e31b2
diff --git a/dev-libs/ps4000a/ps4000a-1.0.2.2.07.ebuild b/dev-libs/ps4000a/ps4000a-1.0.2.2.07.ebuild
new file mode 100644 (file)
index 0000000..72743e7
--- /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 2000 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/*
+}