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

diff --git a/dev-libs/ps2000a/Manifest b/dev-libs/ps2000a/Manifest
new file mode 100644 (file)
index 0000000..15cde3a
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps2000a-1.1.2-5r07.x86_64.rpm 1242686 SHA256 634a0297e45d48776f1f2d007c6da9e3e95666c4e50426dfe85379a8284c7187 SHA512 f31b2dfe5a2f37cc20186d0242d56f99f57b49c683aa54936b4383be8baec0cc13c505fd72293fed5353de11c7f4625a87e720b20d79e2d67f938945c8f11c64 WHIRLPOOL 78b66b7020de1103d1d4739000716b131cadc2fe588e12294d94594d636a076184ceca996d2112cd427a4153fed5243e0a14fc3459729ebb100a02656c9ce8c8
+EBUILD ps2000a-1.1.2.5.07.ebuild 745 SHA256 194bc278f4cda265b1f05d9d40c7c4050fe72e56c8e65ddd065985a40a0448fc SHA512 ccfa6f1bbb20dcac8193689a9ae333559fbb63265629f323f4d0540399ac24fd3c8854387befaafabf1ac8ee34d7212c22810fb5b664ce6fa58b541f936f0be2 WHIRLPOOL dc8b6f382d1cf5c11fb8387fa26bdcb54e6793eb0f59c3e820a4eb4b3383743a19d9195e49a074479ca0a1c22e54e55ae12d1b00a58efcc760f9f55213cf6e4d
diff --git a/dev-libs/ps2000a/ps2000a-1.1.2.5.07.ebuild b/dev-libs/ps2000a/ps2000a-1.1.2.5.07.ebuild
new file mode 100644 (file)
index 0000000..44bb4e3
--- /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 2000A 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/*
+}