aboutsummaryrefslogtreecommitdiff
blob: 89ef8398cdbf142a722555e21faf480258280914 (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
35
36
37
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Dummy library to compile and link code using NI DAQmx under Linux"
HOMEPAGE="http://doesntexist.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"

RDEPEND="${DEPEND}"

S=${WORKDIR}

pkg_nofetch() {
	ewarn "A source tarball for this package is not available, because it is based on propriatory NI code."
	ewarn "Please send astrofloyd [at] gmail a message if you're interested."
}

src_prepare() {
	cp etc/Makefile .
}

src_install() {
	doheader src/NIDAQmx.h
	dolib libNIDAQmx.so
	use static-libs && dolib libNIDAQmx.a
}

pkg_info() {
	ewarn "A source tarball for this package is not available, because it is based on propriatory NI code."
	ewarn "Please send astrofloyd [at] gmail a message if you're interested."
}