summaryrefslogtreecommitdiff
blob: fdd23809b95e92718c82d13fccf05e2668bf789d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

if [[ "${PV}" != "9999" ]]; then
	MODULE_VERSION=3.02
	MODULE_AUTHOR=AKHUETTEL
	KEYWORDS=""
	inherit perl-module
else
	EGIT_REPO_URI="https://github.com/lab-measurement/lab-measurement.git"
	EGIT_BRANCH="master"
	EGIT_SOURCEDIR=${S}
	KEYWORDS=""
	S=${WORKDIR}/${P}/VISA
	inherit perl-module git-2
fi

DESCRIPTION="Perl interface to National Instrument's VISA library"
HOMEPAGE="http://www.labvisa.de/"

# this is perl's license, whatever it means
LICENSE="|| ( Artistic GPL-2 )"

SLOT="0"
IUSE=""

DEPEND="sci-libs/ni-visa"
RDEPEND="${DEPEND}"

src_unpack() {
	git-2_src_unpack
}