Add picoscope
authorkristianf <devnull@localhost>
Sun, 7 Sep 2014 23:04:45 +0000 (01:04 +0200)
committerkristianf <devnull@localhost>
Sun, 7 Sep 2014 23:04:45 +0000 (01:04 +0200)
28 files changed:
app-crypt/ekeyd/files/ekeyd-1.1.5-const_char_usage.patch [new file with mode: 0644]
app-crypt/ekeyd/files/ekeyd-1.1.5-enoent.patch [new file with mode: 0644]
app-crypt/ekeyd/files/ekeyd-1.1.5-misc.patch [new file with mode: 0644]
app-crypt/ekeyd/files/ekeyd-1.1.5-path-fixes.patch [new file with mode: 0644]
app-crypt/ekeyd/files/ekeyd-1.1.5-remove-werror.patch [new file with mode: 0644]
app-crypt/ekeyd/files/ekeyd-1.1.5-udev-rule.patch [new file with mode: 0644]
dev-libs/libgcrypt/libgcrypt-1.6.2.ebuild [new file with mode: 0644]
dev-libs/picoipp/Manifest [new file with mode: 0644]
dev-libs/picoipp/picoipp-1.1.2.4.21.ebuild [new file with mode: 0644]
dev-libs/plcm3/Manifest [new file with mode: 0644]
dev-libs/plcm3/plcm3-1.0.2.1.04.ebuild [new file with mode: 0644]
dev-libs/ps2000/Manifest [new file with mode: 0644]
dev-libs/ps2000/ps2000-2.1.2.3.05.ebuild [new file with mode: 0644]
dev-libs/ps5000a/Manifest [new file with mode: 0644]
dev-libs/ps5000a/ps5000a-1.1.2.5.06.ebuild [new file with mode: 0644]
dev-libs/ps6000/Manifest [new file with mode: 0644]
dev-libs/ps6000/ps6000-1.4.2.6.06.ebuild [new file with mode: 0644]
dev-libs/usbdrdaq/Manifest [new file with mode: 0644]
dev-libs/usbdrdaq/usbdrdaq-1.0.2.1.05.ebuild [new file with mode: 0644]
dev-libs/usbpt104/Manifest [new file with mode: 0644]
dev-libs/usbpt104/usbpt104-1.0.2.1.04.ebuild [new file with mode: 0644]
dev-libs/usbtc08/Manifest [new file with mode: 0644]
dev-libs/usbtc08/usbtc08-1.8.8.1.06.ebuild [new file with mode: 0644]
licenses/PICO [new file with mode: 0644]
sci-electronics/picoscope/Manifest [new file with mode: 0644]
sci-electronics/picoscope/files/95-pico.rules [new file with mode: 0644]
sci-electronics/picoscope/files/picoscope.desktop [new file with mode: 0644]
sci-electronics/picoscope/picoscope-6.10.1.4.13.ebuild [new file with mode: 0644]

diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-const_char_usage.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-const_char_usage.patch
new file mode 100644 (file)
index 0000000..81ad8e6
--- /dev/null
@@ -0,0 +1,32 @@
+# HG changeset patch
+# User kristianf
+# Date 1382916823 -3600
+#      Mon Oct 28 00:33:43 2013 +0100
+# Node ID 0d99149615ec5ec70a6d03c685291ddc55babff6
+# Parent  fd192324ff9ae4c4c92cdb9c27f5ae100da136a6
+Rewrite static const char *usage
+
+diff -r fd192324ff9a -r 0d99149615ec host/ekey-setkey.c
+--- a/host/ekey-setkey.c       Mon Oct 28 00:31:59 2013 +0100
++++ b/host/ekey-setkey.c       Mon Oct 28 00:33:43 2013 +0100
+@@ -79,7 +79,7 @@
+     return mac;
+ }
+-static const char *usage =
++static const char usage[] =
+     "This is a low level tool. You probably wanted to use ekey-rekey instead.\n\n"
+     "Usage: %s [-d] [-h] [-n] [-f <keyring>] [-m <master>]\n"
+     "       [-s <serial>] <path>\n"
+diff -r fd192324ff9a -r 0d99149615ec host/ekeyd.c
+--- a/host/ekeyd.c     Mon Oct 28 00:31:59 2013 +0100
++++ b/host/ekeyd.c     Mon Oct 28 00:33:43 2013 +0100
+@@ -209,7 +209,7 @@
+     return (output_stream != NULL);
+ }
+-static const char *usage=
++static const char usage[] =
+     "Usage: %s [-f <configfile>] [-p <pidfile>] [-v] [-h]\n"
+     "Entropy Key Daemon\n\n"
+     "\t-f Read configuration from configfile\n"
diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-enoent.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-enoent.patch
new file mode 100644 (file)
index 0000000..2d4cccb
--- /dev/null
@@ -0,0 +1,23 @@
+# HG changeset patch
+# User kristianf
+# Date 1382916946 -3600
+#      Mon Oct 28 00:35:46 2013 +0100
+# Node ID 0a9e41a05aafb98cc8c21562931cb1cbb5e30c1f
+# Parent  0d99149615ec5ec70a6d03c685291ddc55babff6
+libusb_compat
+
+diff -r 0d99149615ec -r 0a9e41a05aaf host/ekey-ulusbd.c
+--- a/host/ekey-ulusbd.c       Mon Oct 28 00:33:43 2013 +0100
++++ b/host/ekey-ulusbd.c       Mon Oct 28 00:35:46 2013 +0100
+@@ -100,8 +100,9 @@
+ #if LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
+     if ((r = usb_detach_kernel_driver_np(devh, EKEY_IFACE)) != 0) {
+-        if (r != -ENODATA) {
+-            fprintf(stderr, 
++        /* libusb_compat-0.1.3 mistakenly translate ENODATA to ENOENT */
++      if (r != -ENODATA && r != -ENOENT) {
++            fprintf(stderr, 
+                     "Unable to detach Entropy Key at %s/%s from kernel\n", 
+                     busmatch, devmatch);
+             usb_close(devh);
diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-misc.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-misc.patch
new file mode 100644 (file)
index 0000000..660f0ba
--- /dev/null
@@ -0,0 +1,50 @@
+diff -r 724cf5abf164 host/Makefile
+--- a/host/Makefile    Mon Oct 28 00:43:49 2013 +0100
++++ b/host/Makefile    Mon Oct 28 00:54:01 2013 +0100
+@@ -19,7 +19,7 @@
+ RM ?= rm -f
+ LUA_V ?= 5.1
+ EXTRA_INC ?=
+-LUA_INC ?= -I/usr/include/lua5.1
++LUA_INC ?= -I/usr/include
+ LIBDL ?= -ldl
+ PTHFLAGS ?=
+ PTHLIBS ?= -lpthread
+@@ -31,7 +31,7 @@
+ MANZEXT := .gz
+ # Current tool version as returned from tools
+-EKEYD_VERSION_S="1.1.4"
++EKEYD_VERSION_S="1.1.5"
+ # Attempt to detect an OS and set build options as appropriate
+ OSNAME=$(shell uname -s | tr A-Z a-z | tr -d /)
+@@ -91,10 +91,7 @@
+ override MANZCMD:=cat
+ override MANZEXT:=
+ endif
+-override LUA_INC:=-I/usr/local/include/lua51
+ override LIBDL:=
+-LIBDIRS += -L/usr/local/lib
+-INCLUDES += -I/usr/local/include
+ endif
+ endif
+ endif
+@@ -114,7 +111,7 @@
+ CFLAGS += '-DEKEYD_VERSION_S=""$(EKEYD_VERSION_S)""'
+ CFLAGS += $(EXTRA_CFLAGS)
+-LIBS += -llua$(LUA_V) -lm $(LIBDL)
++LIBS += -llua -lm $(LIBDL)
+ LDFLAGS += $(LIBDIRS)
+@@ -157,7 +154,7 @@
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+ control.inc: bin2c.lua control.lua
+-      lua$(LUA_V) bin2c.lua +control.lua result > control.inc.new
++      lua bin2c.lua +control.lua result > control.inc.new
+       mv control.inc.new control.inc
+ lstate.o: lstate.c control.inc
diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-path-fixes.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-path-fixes.patch
new file mode 100644 (file)
index 0000000..0a9a591
--- /dev/null
@@ -0,0 +1,49 @@
+# HG changeset patch
+# User kristianf
+# Date 1382917171 -3600
+#      Mon Oct 28 00:39:31 2013 +0100
+# Node ID d96c42b36cb125e6e52cff623b7bdad1910284b4
+# Parent  0a9e41a05aafb98cc8c21562931cb1cbb5e30c1f
+entropykey.sh
+
+diff -r 0a9e41a05aaf -r d96c42b36cb1 udev/entropykey.sh
+--- a/udev/entropykey.sh       Mon Oct 28 00:35:46 2013 +0100
++++ b/udev/entropykey.sh       Mon Oct 28 00:39:31 2013 +0100
+@@ -19,9 +19,10 @@
+     COUNTER=$(( ${COUNTER} + 1 ))
+     test ${COUNTER} -ge 10 && exit 1
+   done
+-  $BINPATH/ekey-ulusbd -b${BUSNUM} -d${DEVNUM} -P/var/run/ekey-ulusbd-${ENTROPY_KEY_SERIAL}.pid -p/var/run/entropykeys/${ENTROPY_KEY_SERIAL} -D
++  /usr/libexec/ekey-ulusbd -b${BUSNUM} -d${DEVNUM} -P/dev/.ekey-ulusbd/${ENTROPY_KEY_SERIAL}.pid -p/dev/entropykey/${ENTROPY_KEY_SERIAL} -D
++
+   sleep 1
+-  $BINPATH/ekeydctl ${ACTION} /var/run/entropykeys/${ENTROPY_KEY_SERIAL}
++  $BINPATH/ekeydctl ${ACTION} /dev/entropykey/${ENTROPY_KEY_SERIAL}
+   exit 0
+ }
+@@ -34,18 +35,18 @@
+     if test "x${BUSNUM}" = "x" -o "x${DEVNUM}" = "x"; then
+       exit 0
+     fi
+-    if test -r "/var/run/ekey-ulusbd-${ENTROPY_KEY_SERIAL}.pid"; then
+-      kill $(cat "/var/run/ekey-ulusbd-${ENTROPY_KEY_SERIAL}.pid") || true
++    if test -r "/dev/.ekey-ulusbd/${ENTROPY_KEY_SERIAL}.pid"; then
++      kill $(< "/dev/.ekey-ulusbd/${ENTROPY_KEY_SERIAL}.pid") || true
+     fi
+-    mkdir -p /var/run/entropykeys
++    mkdir -p /dev/entropykey /dev/.ekeyd-ulusb
+     wait_for_usb &
+     exit 0
+   fi
+   # Update ekeyd with device operation
+-  $BINPATH/ekeydctl ${ACTION} /var/run/entropykeys/${ENTROPY_KEY_SERIAL}
++  $BINPATH/ekeydctl ${ACTION} /dev/entropykey/${ENTROPY_KEY_SERIAL}
+   if test "x$ACTION" = "xremove"; then
+-    rm "/var/run/ekey-ulusbd-${ENTROPYKEY_KEY_SERIAL}.pid"
+-    rm "/var/run/entropykeys/${ENTROPYKEY_KEY_SERIAL}"
++    rm "/dev/.ekey-ulusbd/${ENTROPYKEY_KEY_SERIAL}.pid"
++    rm "/dev/entropykey/${ENTROPYKEY_KEY_SERIAL}"
+   fi
+ fi
diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-remove-werror.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-remove-werror.patch
new file mode 100644 (file)
index 0000000..bb5862d
--- /dev/null
@@ -0,0 +1,29 @@
+# HG changeset patch
+# User kristianf
+# Date 1382917429 -3600
+#      Mon Oct 28 00:43:49 2013 +0100
+# Node ID 724cf5abf164dd5889a7c72916aa524c3822b8bd
+# Parent  902b9c6908618864319835d69981f9ea902be324
+Makefile
+
+diff -r 902b9c690861 -r 724cf5abf164 host/Makefile
+--- a/host/Makefile    Mon Oct 28 00:41:59 2013 +0100
++++ b/host/Makefile    Mon Oct 28 00:43:49 2013 +0100
+@@ -107,7 +107,7 @@
+ CFLAGS += $(INCLUDES)
+ CFLAGS += -g -Wall $(OPT)
+ CFLAGS += -fno-strict-aliasing
+-CFLAGS += -std=c99 -Wall -pedantic -Wshadow -Werror -D_GNU_SOURCE
++CFLAGS += -std=c99 -Wall -pedantic -Wshadow -D_GNU_SOURCE
+ CFLAGS += '-DCONFIGFILE="$(SYSCONFPREFIX)/ekeyd.conf"'
+ CFLAGS += '-DPIDFILE="$(RUNTIMEPREFIX)/ekeyd.pid"'
+ CFLAGS += '-DKEYRINGFILE="$(SYSCONFPREFIX)/keyring"'
+@@ -148,7 +148,7 @@
+       $(COMPILE.c) $(OUTPUT_OPTION) $(PTHFLAGS) $^
+ egd-linux: egd-linux.o daemonise.o
+-      $(CC) $(CFLAGS) -o $@ $^
++      $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+ ekeyd: ekeyd.o daemonise.o lstate.o connection.o stream.o frame.o packet.o keydb.o util.o fds.o krnlop.o foldback.o stats.o nonce.o ../device/frames/pem.o ../device/skeinwrap.o ../device/skein/skein.o ../device/skein/skein_block.o
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
diff --git a/app-crypt/ekeyd/files/ekeyd-1.1.5-udev-rule.patch b/app-crypt/ekeyd/files/ekeyd-1.1.5-udev-rule.patch
new file mode 100644 (file)
index 0000000..c4b53a8
--- /dev/null
@@ -0,0 +1,36 @@
+# HG changeset patch
+# User kristianf
+# Date 1382917319 -3600
+#      Mon Oct 28 00:41:59 2013 +0100
+# Node ID 902b9c6908618864319835d69981f9ea902be324
+# Parent  d96c42b36cb125e6e52cff623b7bdad1910284b4
+udev rule
+
+diff -r d96c42b36cb1 -r 902b9c690861 udev/fedora15/60-entropykey-uds.rules
+--- a/udev/fedora15/60-entropykey-uds.rules    Mon Oct 28 00:39:31 2013 +0100
++++ b/udev/fedora15/60-entropykey-uds.rules    Mon Oct 28 00:41:59 2013 +0100
+@@ -9,7 +9,7 @@
+ # For licence terms refer to the COPYING file.
+ # Detect an Entropy Key being inserted and extract serial number
+-ACTION=="add|change|remove", SUBSYSTEM=="usb", BUS=="usb", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{program}="/bin/echo ENTROPY_KEY_SERIAL=$attr{serial}"
++ACTION=="add|change|remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{program}="/bin/sh -c /bin/echo ENTROPY_KEY_SERIAL=$attr{serial}"
+ # And tell the ekeyd about the device action.
+ ENV{ENTROPY_KEY_SERIAL}!="", RUN+="/lib/udev/entropykey.sh"
+diff -r d96c42b36cb1 -r 902b9c690861 udev/fedora15/60-entropykey.rules
+--- a/udev/fedora15/60-entropykey.rules        Mon Oct 28 00:39:31 2013 +0100
++++ b/udev/fedora15/60-entropykey.rules        Mon Oct 28 00:41:59 2013 +0100
+@@ -9,10 +9,10 @@
+ # For licence terms refer to the COPYING file distributed with the source.
+ # Detect an Entropy Key being inserted and add info values to environment
+-ACTION=="add|change|remove", SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", BUS=="usb", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{program}="usb_id --export %p"
++ACTION=="add|change|remove", SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{builtin}="usb_id"
+ # Detect an Entropy Key being inserted and extract serial number
+-ACTION=="add|change|remove", SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{program}="/bin/echo ENTROPY_KEY_SERIAL=$env{ID_SERIAL_SHORT}"
++ACTION=="add|change|remove", SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="20df", ATTRS{idProduct}=="0001", IMPORT{program}="/bin/sh -c /bin/echo ENTROPY_KEY_SERIAL=$env{ID_SERIAL_SHORT}"
+ # Add the /dev/entropykey/<serialnumber> symbolic link
+ ENV{ENTROPY_KEY_SERIAL}!="", SYMLINK+="entropykey/$env{ENTROPY_KEY_SERIAL}"
diff --git a/dev-libs/libgcrypt/libgcrypt-1.6.2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.6.2.ebuild
new file mode 100644 (file)
index 0000000..85179f9
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r2.ebuild,v 1.2 2014/08/08 08:57:41 alonbl Exp $
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-multilib flag-o-matic
+
+DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
+HOMEPAGE="http://www.gnupg.org/"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 MIT"
+SLOT="0/20" # subslot = soname major version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]
+       abi_x86_32? (
+               !<=app-emulation/emul-linux-x86-baselibs-20131008-r19
+               !app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
+       )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.6.1-uscore.patch
+       "${FILESDIR}"/${PN}-multilib-syspath.patch
+       "${FILESDIR}"/${PN}-1.6.0-serial-tests.patch
+)
+
+MULTILIB_CHOST_TOOLS=(
+       /usr/bin/libgcrypt-config
+)
+
+multilib_src_configure() {
+       if [[ ${CHOST} == *86*-solaris* ]] ; then
+               # ASM code uses GNU ELF syntax, divide in particular, we need to
+               # allow this via ASFLAGS, since we don't have a flag-o-matic
+               # function for that, we'll have to abuse cflags for this
+               append-cflags -Wa,--divide
+       fi
+       local myeconfargs=(
+               --disable-padlock-support # bug 201917
+               --disable-dependency-tracking
+               --enable-noexecstack
+               --disable-O-flag-munging
+               $(use_enable static-libs static)
+
+               # disabled due to various applications requiring privileges
+               # after libgcrypt drops them (bug #468616)
+               --without-capabilities
+
+               # http://trac.videolan.org/vlc/ticket/620
+               # causes bus-errors on sparc64-solaris
+               $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+               $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+       )
+       autotools-utils_src_configure
+}
diff --git a/dev-libs/picoipp/Manifest b/dev-libs/picoipp/Manifest
new file mode 100644 (file)
index 0000000..5fb0eff
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libpicoipp-1.1.2-4r21.x86_64.rpm 9730780 SHA256 2ce68b56a8bd6540be8338b1db60a8abe3750774342e5dbcf8325bdc2fdfec48 SHA512 508029524ee33d5d43b16f1eb124192b5e336d75942d1551067679eac24f6102bba232f08538581b62e787503163e5060d173bec487ec63047b24934aa85b7e4 WHIRLPOOL 5fe4297147c6cd5c4f1e309165509f1e677d1e82be002319920ffc87505acd71f1b3da1029121c83e16896ba3179c5799ba2bc0eaef49c2332e2f49e4545587f
+EBUILD picoipp-1.1.2.4.21.ebuild 862 SHA256 1fe69f2c0e03cf1450476c625f024dd374d3ffdf5b04919dbc9861f38c7341a5 SHA512 aadbf5120cbe933c2493337d8efa2fdde6ba195001cba34a2a0218cf031fcb2d795220763ee31b59833fd7d273303995c99bec23ffc25b1677e01b0cf06623c7 WHIRLPOOL 53cb4df2923037f1eb0ac560c61c1b2ae0a38e82c92a0c0e8f8451eca739f3ff63a115f4bc12155bfcce421910f71b967202f7e58c3644b3bc8af7bda1adbb99
diff --git a/dev-libs/picoipp/picoipp-1.1.2.4.21.ebuild b/dev-libs/picoipp/picoipp-1.1.2.4.21.ebuild
new file mode 100644 (file)
index 0000000..bba3764
--- /dev/null
@@ -0,0 +1,36 @@
+# 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="Intel Integrated Performance Primitives exports for Pico Technology Products."
+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/libpicoipp-${MY_PV}.x86_64.rpm )"
+LICENSE="PICO"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND=""
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/"
+
+src_unpack()
+{
+    rpm_src_unpack ${A}
+}
+
+src_install()
+{
+       insinto "/opt"
+       doins -r opt/*
+       insinto "/etc/ld.so.conf.d"
+       doins etc/ld.so.conf.d/picoscope.conf
+}
diff --git a/dev-libs/plcm3/Manifest b/dev-libs/plcm3/Manifest
new file mode 100644 (file)
index 0000000..da0cb6d
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libplcm3-1.0.2-1r04.x86_64.rpm 95129 SHA256 3530f32372cc08f668dc70bd1ebf90e4cf647c19066a37cf0255ea5f3b2abb19 SHA512 086af2637f5a5041adf6f1518e984be8851130530d33539759c5a075260493deb2f6495f9a2b224be217b019044004f4c07f336cd15b78ccd98287f556d41133 WHIRLPOOL cbd79a6830ec903d53b18c2552c58243570ee27a6adcb6207f015fb1439086ffec5388b8712f6b35bdd1ed03f92c16c39a5fa954058fe36c41b4d837135c1fa3
+EBUILD plcm3-1.0.2.1.04.ebuild 764 SHA256 64bed2c294c1b135f07e2d6673b4fe51ffef8e8c7f684ab6ce8e1c3b338425ab SHA512 529d60e531cd3976dfefbe4520dd68b0d9df138baaaf15529587c6915ce964435cc9954adef674274215235df67f7d17a16b5c64f30d92c70b6f34ef0b97c938 WHIRLPOOL 2fe0be3f8d4f1b53fb54dc5c3fcd6be6d19a8f81ce73ac160bb8e8b1019becbb8e2411ea8fa46287b44c19be1f83024929050d77ce24233aa922919c0256391a
diff --git a/dev-libs/plcm3/plcm3-1.0.2.1.04.ebuild b/dev-libs/plcm3/plcm3-1.0.2.1.04.ebuild
new file mode 100644 (file)
index 0000000..37116eb
--- /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="Pico Technology PicoLog CM3 Current Data Logger 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/libplcm3-${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/*
+}
diff --git a/dev-libs/ps2000/Manifest b/dev-libs/ps2000/Manifest
new file mode 100644 (file)
index 0000000..e1a00ee
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps2000-2.1.2-3r05.x86_64.rpm 317203 SHA256 52865247fcc3cf8566cfccf9c10a0d678580bc062c0b61a3defb44e36f86d69c SHA512 2eb3c056628f12486df52a12abb48df61e921bb3f922473cee4fede69a8c1d416342901eb3f0ca2950ff58bf7975f42c27a9c7b63ff89ee8139422a0092fc4b2 WHIRLPOOL 620da1acd201d2a9d175ebf216fab3af3278f089e487a09424f223544d71c8324bf91d7400ea4ac5806d8a12e8a2da6ff883a784e0b3ea362c2680c27814f42c
+EBUILD ps2000-2.1.2.3.05.ebuild 744 SHA256 3ef6f8130f1354638d9aec1f6aca777f5773cab5c135542571ce6fc7ba2ca151 SHA512 cdc2e12e10dde42adbfd28440ef07170da0498fbbd744854f9ad9be780a104f1788d073425d0b1e28a467dfcdd27e0a8e227a2b6becc450a30f5196593a7a36e WHIRLPOOL 39d0a84ed73ce6242bf89789a36ba69b2bb6072187b4b4e666430acb78819b4a660c9957409abf4391ae5b22d7b70b65709b7dfff5e3a8ddac626e8efe8e31b2
diff --git a/dev-libs/ps2000/ps2000-2.1.2.3.05.ebuild b/dev-libs/ps2000/ps2000-2.1.2.3.05.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/*
+}
diff --git a/dev-libs/ps5000a/Manifest b/dev-libs/ps5000a/Manifest
new file mode 100644 (file)
index 0000000..907e22e
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps5000a-1.1.2-5r06.x86_64.rpm 1180089 SHA256 3eca792479a44571c3dc3dc4df2e0a9a1161b9d8e7c4477af0647f7743563800 SHA512 63c98fec0016e659af21c1f5da3395f0c72b3f143036ed4204002451f5e82fb4e34e8b84d2505874a3f49fc1263b93c1be52d629bb1634f30ea1134b8f2f3a56 WHIRLPOOL e5fc00cacc52a750c773dac230bde4094d2c711eb6ad587532b6804ecf792ba1c134133a67f564507c6eac0e1bae27d98c33e534690f3d1a305f811e3990689c
+EBUILD ps5000a-1.1.2.5.06.ebuild 738 SHA256 b2e5359fbb20446f6cb367f330cf15ca6230d2dcf274f15ebdb4d38fe9d9bc08 SHA512 d85d2a490e0949ec3272371e7a3e7dab230606be2a944b4e91186b553d54c3ea06ec0537a1ead974c2d7dc32d2fa20ce1077291e752809c553f9b7b8de065155 WHIRLPOOL ff34e1ded373923e804fea5e14e463b90032e62df062d7da49bd787cfd6b4517880bd397225f9cae3f2be294a0268ecf76d4deb886836cb696f6fcdb0b340322
diff --git a/dev-libs/ps5000a/ps5000a-1.1.2.5.06.ebuild b/dev-libs/ps5000a/ps5000a-1.1.2.5.06.ebuild
new file mode 100644 (file)
index 0000000..3e8c01f
--- /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 5000A 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/*
+}
diff --git a/dev-libs/ps6000/Manifest b/dev-libs/ps6000/Manifest
new file mode 100644 (file)
index 0000000..d1f6c77
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libps6000-1.4.2-6r06.x86_64.rpm 1467833 SHA256 d1c1539d119457532a0b9e99f3f6477f6de0a7b0422cd6edb37f5bc1e525878a SHA512 c4df9a5bd04588effb995d7b1dd71cde0808abf342ded6b4ec43eecce0a81d95d7489fd56e79d11b0e149b68826e47bd835882341bef5638bba90511afa9e5ba WHIRLPOOL fbe3369e94cfddaf212e21f54194d626f3eebc45fccfb1070d213880ea9be482aa80ee71fec374762c89b3f6d70a51944f16d64fb4745848168292eb8e10f2a7
+EBUILD ps6000-1.4.2.6.06.ebuild 744 SHA256 28b3d028917ae9d7ac870514545a7eedf5378407eadfa7a882634142e4cdcb07 SHA512 3ee1e89850d2ec7969563bcecf1a83c2fefc0170c07e3663cbaa464ca689cefe2af9320d28722f5a58e677b02717bfd0db7b5e96444fc0feb978a0ba1930fa81 WHIRLPOOL b6a9eab85ba0d54d44449e00f748b09b98a2e60ecf8ab0832725cf1d90d4cf8aa98cdfdd8c7af8ff75c95ae2026af9d269bbb9b243387e0b2703c52c12cd95c3
diff --git a/dev-libs/ps6000/ps6000-1.4.2.6.06.ebuild b/dev-libs/ps6000/ps6000-1.4.2.6.06.ebuild
new file mode 100644 (file)
index 0000000..fcdea6d
--- /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 6000 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/*
+}
diff --git a/dev-libs/usbdrdaq/Manifest b/dev-libs/usbdrdaq/Manifest
new file mode 100644 (file)
index 0000000..0b3d502
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libusbdrdaq-1.0.2-1r05.x86_64.rpm 132435 SHA256 e45efa22632e2f864f838934a80f10c10c42d92b7c5495ceaab28d80efaa83a6 SHA512 5b544bda34935186eafc9d7176e49ed482aafa10d59e3e466ece7a814b9c21f7130753d8e813ff1b163d3ef6d4861699333ac798b73198ee6f2d8179c06e0572 WHIRLPOOL 2951d8198879426cb8539dcca58e50a4ac0f617678bb3c91c91ea22ceb51fc2aec57c18e08d4ce5e39a64f29a4bc5e04bf2ae27259d13913819060203671d49a
+EBUILD usbdrdaq-1.0.2.1.05.ebuild 744 SHA256 8d7b72ce62ad08a2e1424fe10aa4e876bbe51c60923ec04b6accd391edbbdcc2 SHA512 c12a851cfff9aef94d15f43fb2ee7bbf6c79731aec6631a70efdffc5e9dddcd09e020a39e5cc36e0c6ba4608fffee86cd39e63e621a97bba1b3c060d55178643 WHIRLPOOL 083b43a5b0cf92bdfe45a0b3b13b3b4197b694a51d5a79c8dfbc8f7cb04a3140e462c944827f33283ca6fb4c74f4b8fb6d77d8338780916f1819f4fbd37c079e
diff --git a/dev-libs/usbdrdaq/usbdrdaq-1.0.2.1.05.ebuild b/dev-libs/usbdrdaq/usbdrdaq-1.0.2.1.05.ebuild
new file mode 100644 (file)
index 0000000..dba10b3
--- /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 USBDrDAQ 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/libusbdrdaq-${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/*
+}
diff --git a/dev-libs/usbpt104/Manifest b/dev-libs/usbpt104/Manifest
new file mode 100644 (file)
index 0000000..2dcdcf7
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libusbpt104-1.0.2-1r04.x86_64.rpm 102461 SHA256 f70da4a0416062e78e11fde46b94afda325664b991f5d757947698ecd7631d34 SHA512 b66786405f126302756aef2919aaf88d6afd93d827f2eb31f037a3a780b18d6ae25595c0b7cfa4d58e585ed0ce87088eeef56813821d7396e9fdf98e0e88f738 WHIRLPOOL 2b0f5c5bf6e880697522a34196107a6b225879a6bb6de435ad4998602dedc9146b0a8dc81fdd23ec4e59882abb705371ab18da5fc14f254d39d55014ed5d23da
+EBUILD usbpt104-1.0.2.1.04.ebuild 766 SHA256 e2136a4c2eef17676ee428ccf0cec0306bee192057f5dc2c5539fea2b66c6ffb SHA512 06ef668efa20651090aaf47361ac5bc5d101804e9027820a1e8b9f8ce0398061e803ca0bcd6f3c420bcd6b028a8210a167d2eb70b2e950178cd0bbf3bdfa1843 WHIRLPOOL 55fbe0ae9ec1618dcb03ba0750f87c4a0780ff816385ce8054fcd11f987eb73f058886f61a72b794732523bf856da3c031a8e9b4005e9ca4f38fb2b0241ca626
diff --git a/dev-libs/usbpt104/usbpt104-1.0.2.1.04.ebuild b/dev-libs/usbpt104/usbpt104-1.0.2.1.04.ebuild
new file mode 100644 (file)
index 0000000..15b1de8
--- /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 is the standard in PC Oscilloscope software"
+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/libusbpt104-${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/*
+}
diff --git a/dev-libs/usbtc08/Manifest b/dev-libs/usbtc08/Manifest
new file mode 100644 (file)
index 0000000..7a4417f
--- /dev/null
@@ -0,0 +1,2 @@
+DIST libusbtc08-1.8.8-1r06.x86_64.rpm 81033 SHA256 0851750bef6217d75057ded2752cd1cb756ac47e602a2d1aff951fee0c23b692 SHA512 d88b11b2f93bce05608316ce87076b8d3de4ac630ed1248d2f235061203a4648d218202002fa7744664e0dd348a9fe211c6be193af88c5ed9982dc82cb43e17d WHIRLPOOL afb3830b18c0e72f8b2f45f5db676101fe126759817042f2da39d2e3f2edd0a14c5029503f872b3b266cb4f3202e2e2560d21db00028dccb234d647559a9d62d
+EBUILD usbtc08-1.8.8.1.06.ebuild 750 SHA256 b428cbd76e4a0dfca4aa7819c177aecc5d8833ef8ae9cea2b76635e47e2c5fb8 SHA512 1969aea4275276ebc53faf97339ca763f9b429c83d8549a45835fc2bac9e775f6c36bde48b0bda6fb926119ed701a47ecc0909244cb00b4ae342ccb6d1efa783 WHIRLPOOL 115eae7198580b39c8e77a8c8f30187f4a454888a32c3dd0c6af7c92b021e8dd6b1bd0f1972dc50cf6cf6796cbdcfc1e817a72722d4cf2ab92b6fe75fbfe717d
diff --git a/dev-libs/usbtc08/usbtc08-1.8.8.1.06.ebuild b/dev-libs/usbtc08/usbtc08-1.8.8.1.06.ebuild
new file mode 100644 (file)
index 0000000..434370e
--- /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="Pico Technology USB TC-08 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/libusbtc08-${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/*
+}
diff --git a/licenses/PICO b/licenses/PICO
new file mode 100644 (file)
index 0000000..a8c5ebb
--- /dev/null
@@ -0,0 +1,36 @@
+Copyright: (C) 2007-2014 Pico Technology Limited
+License:
+ Grant of license. The material contained in this release is licensed, not sold.
+ Pico Technology Limited ('Pico') grants a license to the person who installs
+ this software, subject to the conditions listed below.
+ .
+ Access. The licensee agrees to allow access to this software only to persons
+ who have been informed of and agree to abide by these conditions.
+ .
+ Usage. The software in this release is for use only with Pico products or with
+ data collected using Pico products. Attached examples and source code (files in
+ opt/picoscope/share) can be freely modified and reused in other projects.
+ .
+ Copyright. Pico claims the copyright of, and retains the rights to, all material 
+ (software, documents etc., unless explicitly expressed) contained in this release.
+ .
+ Liability. Pico and its agents shall not be liable for any loss or damage, 
+ howsoever caused, related to the use of Pico Technology equipment or software, 
+ unless excluded by statute.
+ .
+ Fitness for purpose. No two applications are the same, so Pico cannot guarantee
+ that its equipment or software is suitable for a given application. It is therefore
+ the user's responsibility to ensure that the product is suitable for the user's 
+ application.
+ .
+ Mission-critical applications. Because the software runs on a computer that may 
+ be running other software products, and may be subject to interference from these
+ other products, this license specifically excludes usage in 'mission-critical'
+ applications, for example life-support systems.
+ .
+ Viruses. This software was continuously monitored for viruses during production.
+ However, the user is responsible for virus checking the software once it is 
+ installed.
+ .
+ Support. No software is ever error-free, but if you are dissatisfied with
+ the performance of this software, please contact our technical support staff.
diff --git a/sci-electronics/picoscope/Manifest b/sci-electronics/picoscope/Manifest
new file mode 100644 (file)
index 0000000..3ea0bac
--- /dev/null
@@ -0,0 +1,4 @@
+AUX 95-pico.rules 50 SHA256 58292b6d6422e7d9e8e160674df0513248bd00ae0338e079bea4464f624adeab SHA512 3dc02f8991482282db19278f72a037dd1b0306a6374f88c6537278ca8a543b2325033c7cb2d6d447edbf7d0e3b84cfc6a1ae76fd1a3b63142fe230d410d1d6c1 WHIRLPOOL 3ab7de90a0fbd4330a3e4027e59da0530e22d2f14d2dd24a69a7dd7a2a2ad26ffa7d2b3b63c7210a136196c6a617b15cc44bed0a94d1e2151e6732d5d596276c
+AUX picoscope.desktop 344 SHA256 f1baf988f273a088ddfc40aaafc2bed9435c3e254fa8587891cada200786f23c SHA512 f2e7e0e9134bf1adde9a83b62c1384a6c823d1a5ef045ef6440765d8dd517a2c01ffc7e6e3f8e439e4ee3b0bceb01d093e36e4d495f6d5237dd15f0b06a931c4 WHIRLPOOL c6b9f942f12ee0ba413edaa4f5556bb968445bb1eb53a72b479c79cb4e0a74ab9830fa45c06f90ef2c1e02a8ac02ea5c5bb58b67a55c5143498868ee047a0a1d
+DIST picoscope-6.10.1-4r13.noarch.rpm 7092666 SHA256 c4e33cedfcbb5439e63e20c864533b2ea4b56245ca97968381a63f8b8dd2f712 SHA512 fd1ab067cf7d770845615c549dc9110c38fed457a0890219432a0ec157382faa11ae9c1fbb18ff639dc6d858e79114b0987b4b488c4d785839cdaca9f5973201 WHIRLPOOL 90e1e40bfc939419c77873585fe9347dd99482015b1acfccff8d822dfc1489cb648efd63e0314c980fdbcd431d48e244a0bc38832c6176cbd09a0a41a92d4d35
+EBUILD picoscope-6.10.1.4.13.ebuild 1485 SHA256 c2134e4306c4a7b2ab2e08474518441801bb76fc42004de680066ef26a96f53f SHA512 152579679fafe4d780507bf80b4a9336d70ad3f97ac7688a1ffdb4ad6ee1bc0391fc6730c1a024b4fc965e651a42c80e9aa49ded089358a93c24b060b32a1f9d WHIRLPOOL deeaf514a3dc06e38bbf17961a2707d6e71048c53a428727c1f986ea1d6b878040b997ba967c32098ab97c9e17f14708ca6ef37db01d8b11ea4be87541cd7cab
diff --git a/sci-electronics/picoscope/files/95-pico.rules b/sci-electronics/picoscope/files/95-pico.rules
new file mode 100644 (file)
index 0000000..d11c699
--- /dev/null
@@ -0,0 +1 @@
+ATTRS{idVendor}=="0ce9", MODE="664", GROUP="pico"
diff --git a/sci-electronics/picoscope/files/picoscope.desktop b/sci-electronics/picoscope/files/picoscope.desktop
new file mode 100644 (file)
index 0000000..0e8b439
--- /dev/null
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=PicoScope
+GenericName=PicoScope 6
+Comment=PicoScope USB Oscilloscope Graphical Interface
+Exec=/opt/picoscope/bin/picoscope
+Icon=/opt/picoscope/share/picoscope.png
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+Categories=GNOME;GTK;Science;Electronics;
+Encoding=UTF-8
+StartupNotify=true
+MimeType=application/x-psdata;
diff --git a/sci-electronics/picoscope/picoscope-6.10.1.4.13.ebuild b/sci-electronics/picoscope/picoscope-6.10.1.4.13.ebuild
new file mode 100644 (file)
index 0000000..ccd880b
--- /dev/null
@@ -0,0 +1,63 @@
+# 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 user udev
+
+DESCRIPTION="PicoScope is the standard in PC Oscilloscope software"
+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="http://labs.picotech.com/rpm/noarch/picoscope-${MY_PV}.noarch.rpm"
+LICENSE="PICO"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+CDEPEND=""
+DEPEND="${CDEPEND}"
+RDEPEND="
+       dev-lang/mono
+       dev-dotnet/atk-sharp
+       dev-dotnet/gdk-sharp
+       dev-dotnet/glib-sharp
+       dev-dotnet/gtk-dotnet-sharp
+       dev-dotnet/gtk-sharp
+       dev-libs/libusb
+       dev-libs/picoipp
+       dev-libs/usbdrdaq
+       dev-libs/plcm3
+       dev-libs/usbpt104
+       ${CDEPEND}"
+
+S="${WORKDIR}/"
+
+pkg_setup() 
+{
+       ebegin "Creating named group"
+       enewgroup pico
+}
+
+pkg_postinst() {
+       elog "Please note that you will have to install the corresponding driver"
+       elog "for your device. Consult dev-libs/psXXXX packages corresponding"
+       elog "to your device"
+       elog "Note that you have to be either root or member of the group pico to"
+       elog "be able to use picoscope devices."
+}
+
+src_unpack()
+{
+    rpm_src_unpack ${A}
+}
+
+src_install()
+{
+       insinto "/opt"
+       doins -r opt/*
+       fperms 755 "/opt/picoscope/bin/picoscope"
+       udev_dorules "${FILESDIR}/95-pico.rules"
+       domenu "${FILESDIR}/picoscope.desktop"
+}