You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild

54 lines
1.0 KiB

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit scons-utils toolchain-funcs user
DESCRIPTION="CEE (Control - Experiment - Explore) analog multitool"
HOMEPAGE="http://www.nonolithlabs.com/cee/"
SRC_URI="http://apps.nonolithlabs.com/download/source/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-libs/boost
virtual/udev
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PV}-cflags-respect.patch"
"${FILESDIR}/${PV}-gcc6.patch"
)
pkg_setup() {
tc-export CC CXX
enewuser nonolithd -1 -1 /dev/null usb
}
src_configure() {
myesconsargs=(
boost_static=0
)
}
src_compile() {
escons
}
src_install() {
dobin nonolith-connect
newinitd "${FILESDIR}"/nonolith-connect.initd nonolith-connect
}
pkg_postinst() {
einfo "Consider adding nonolith-connect to the default runlevel."
einfo "Please connect your CEE hardware, start nonolith-connect "
einfo "using the init script provided and then visit:"
einfo "http://apps.nonolithlabs.com/setup"
}