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

diff --git a/dev-libs/ps3000/Manifest b/dev-libs/ps3000/Manifest
new file mode 100644 (file)
index 0000000..09fda06
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps3000-3.7.3-3r05.x86_64.rpm 265268 SHA256 10cfe13ffcf465371fbc87a4f719255d2c0c529add18e872782cb033561d210c SHA512 df6d454e759cdc374fb8f02158442c1fec3a537184ccad9157814f772dee24fade1dba6495c451e31b98db0069af3d439d314f945b849810447d7a0afa9e575d WHIRLPOOL 2ca2981a3d75bcecd6d0566322fa3408d06e605b928b1f60166927c642aaad3b4262549a2265c1436aa0bca32fafb9e0c7cdf1c7a36aaf73e9e5becd0dd0f73f
+EBUILD ps3000-3.7.3.3.05.ebuild 744 SHA256 109c00cdef243d21fe064da08a399f4ca5ea12c8ff28e74c1849580fc9171ab6 SHA512 3bd3cb6088b3730ab6f0ad4d7e04d752c771d6ddbc54a42c53b0e96cfae24c49bc1439cae16c0fb78f1e8b56ccd40125bf149df221108f5286c857fcf3bfbf62 WHIRLPOOL 845ed409bab658040773876a55bb4f1bfe5976fd39739b59d16396ba08214f4728dbb402df0dde2a2f9749bc7041e6a20a7af66585e9fc1d4f6f2b42dcf0247c
diff --git a/dev-libs/ps3000/ps3000-3.7.3.3.05.ebuild b/dev-libs/ps3000/ps3000-3.7.3.3.05.ebuild
new file mode 100644 (file)
index 0000000..f2c484b
--- /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 3000 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/*
+}