Install this version:
emerge -a =dev-perl/Lab-VISA-3.20
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-perl/Lab-VISA-3.20
Or alternatively:
emerge --autounmask-write -a =dev-perl/Lab-VISA-3.20
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.20 | 8 | ~amd64 | 0 |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit perl-module
DESCRIPTION="Perl interface to National Instrument's VISA library"
HOMEPAGE="https://github.com/lab-measurement/Lab-VISA"
SRC_URI="https://github.com/lab-measurement/Lab-VISA/archive/lab-visa-${PV}.tar.gz"
S="${WORKDIR}/${PN}-lab-visa-${PV}"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64"
# Only works if nipalk.ko is loaded
# which does not load on new kernels
RESTRICT="test"
DEPEND="
dev-lang/perl
sci-ni/ni_visa
sci-ni/ni_visa_devel
sci-ni/ni_visa_headers
"
RDEPEND="${DEPEND}"
src_prepare() {
# header files are in subdir
find . -type f -exec \
sed -i -e 's/visa.h/ni-visa\/visa.h/g' \
-e 's/visatype.h/ni-visa\/visatype.h/g' \
-e 's/vpptype.h/ni-visa\/vpptype.h/g' \
{} + || die
default
}
dev-lang/perl sci-ni/ni_visa sci-ni/ni_visa_devel sci-ni/ni_visa_headers
dev-lang/perl sci-ni/ni_visa sci-ni/ni_visa_devel sci-ni/ni_visa_headers
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | lab-visa-3.20.tar.gz | 40970 bytes | https://github.com/lab-measurement/Lab-VISA/archive/lab-visa-3.20.tar.gz |