blob: cbb2dc94a484e3875684aae474ecd16d4d0cff03 (
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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Placeholder for an NI-VISA library ebuild"
SRC_URI="NI-VISA-0.0.1.iso"
HOMEPAGE="http://www.ni.com/"
LICENSE="ni-visa"
KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RESTRICT="fetch"
src_install() {
insinto /etc/revdep-rebuild
doins "${FILESDIR}/70nivisa"
}
pkg_nofetch() {
elog
elog Please download the NI-VISA library for linux from http://www.ni.com/ and install it.
elog Afterwards run the command "echo > ${DISTDIR}/NI-VISA-0.0.1.iso"
elog
elog Yes I know this is an ugly hack but the NI installer is even uglier...
elog
}
|