aboutsummaryrefslogtreecommitdiff
blob: 442f8a959777261672a2cb2a7a14a5b5c9e1003c (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Placeholder for an NI-VISA library ebuild"
HOMEPAGE="http://www.ni.com/"
SRC_URI="NI-VISA-0.0.1.iso"

LICENSE="ni-visa"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
SLOT="0"

RESTRICT="fetch"

src_install() {
	insinto /etc/revdep-rebuild
	doins "${FILESDIR}/70nivisa"
}

pkg_nofetch() {
	elog Please download the NI-VISA library for linux from
	elog    http://joule.ni.com/nidu/cds/view/p/id/2044/lang/en
	elog and install it.
	elog Afterwards run the command "echo > /usr/portage/distfiles/NI-VISA-0.0.1.iso"
	echo
	elog Yes I know this is an ugly hack but the NI installer is even uglier...
	elog See for more information http://decibel.ni.com/content/message/16917
}