aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2018-03-05 13:26:00 +0100
committerAstroFloyd <AstroFloyd@gmail.com>2018-03-05 13:26:00 +0100
commit2e8ec5b9e780ef0593ea7927d36d89760a30fa68 (patch)
treef7162775f959714bd45a280f02479fb0b2a02ee8
parentsys-kernel/gentoo-sources: version bump of local copy (diff)
downloadAstroFloyd-2e8ec5b9e780ef0593ea7927d36d89760a30fa68.zip
AstroFloyd-2e8ec5b9e780ef0593ea7927d36d89760a30fa68.tar.gz
AstroFloyd-2e8ec5b9e780ef0593ea7927d36d89760a30fa68.tar.bz2
dev-libs/nidaqmxbase: revision bump to 14.0.0-r1: /usr/etc/ -> /etc/
-rw-r--r--dev-libs/nidaqmxbase/nidaqmxbase-14.0.0-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/nidaqmxbase/nidaqmxbase-14.0.0-r1.ebuild b/dev-libs/nidaqmxbase/nidaqmxbase-14.0.0-r1.ebuild
new file mode 100644
index 0000000..8dd3d55
--- /dev/null
+++ b/dev-libs/nidaqmxbase/nidaqmxbase-14.0.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm
+
+DESCRIPTION="National Instruments DAQ MX base drivers"
+HOMEPAGE="http://www.ni.com/download/ni-daqmx-base-14.0/5054/en/"
+SRC_URI="nidaqmxbase-board-support-14.0.0-f0.i386.rpm nidaqmxbase-cinterface-14.0.0-f0.i386.rpm nidaqmxbase-common-14.0.0-f0.i386.rpm nidaqmxbase-usb-support-14.0.0-f0.i386.rpm"
+
+LICENSE="NILICENSE"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}/usr/local/natinst/nidaqmxbase"
+
+pkg_nofetch() {
+ einfo "Go to http://www.ni.com/download/ni-daqmx-base-14.0/5054/en/ and register"
+ einfo " in order to download and mount the .iso file."
+ einfo " Then copy the following rpms to /usr/portage/distfiles/"
+ einfo " nidaqmxbase-common-14.0.0-f0.i386.rpm"
+ einfo " nidaqmxbase-board-support-14.0.0-f0.i386.rpm"
+ einfo " nidaqmxbase-usb-support-14.0.0-f0.i386.rpm"
+ einfo " nidaqmxbase-cinterface-14.0.0-f0.i386.rpm"
+ echo
+}
+
+src_install() {
+ rm -rf bin/support
+ (use doc || use examples) && mkdir -p "share/${PN}"
+ use doc && mv documentation "share/${PN}/doc"
+ use examples && mv examples "share/${PN}/"
+
+ dobin "${S}"/bin/*
+ dolib lib/*
+ insinto usr/include/
+ doins include/*
+ insinto etc/
+ doins -r etc/*
+ insinto usr/
+ (use doc || use examples) && doins -r share
+}