/[gentoo-x86]/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild
Gentoo

Contents of /sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jan 6 13:31:37 2014 UTC (6 years ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +10 -5 lines
sci-visualization/nonolith-connect: Punt base.eclass

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild,v 1.3 2012/12/11 09:48:39 ssuominen Exp $
4
5 EAPI=5
6
7 inherit eutils scons-utils toolchain-funcs user
8
9 DESCRIPTION="CEE (Control - Experiment - Explore) analog multitool"
10 HOMEPAGE="http://www.nonolithlabs.com/cee/"
11 SRC_URI="http://apps.nonolithlabs.com/download/source/${P}.tar.bz2"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE=""
17
18 RDEPEND="
19 dev-libs/boost
20 virtual/udev"
21 DEPEND="${RDEPEND}"
22
23 PATCHES=( "${FILESDIR}/${PV}-cflags-respect.patch" )
24
25 pkg_setup() {
26 tc-export CC CXX
27 enewuser nonolithd -1 -1 /dev/null usb
28 }
29
30 src_prepare() {
31 epatch ${PATCHES[@]}
32 }
33
34 src_configure() {
35 myesconsargs=(
36 boost_static=0
37 )
38 }
39
40 src_compile() {
41 escons
42 }
43
44 src_install() {
45 dobin nonolith-connect
46 newinitd "${FILESDIR}"/nonolith-connect.initd nonolith-connect
47 }
48
49 pkg_postinst() {
50 einfo "Consider adding nonolith-connect to the default runlevel."
51 einfo "Please connect your CEE hardware, start nonolith-connect "
52 einfo "using the init script provided and then visit:"
53 einfo "http://apps.nonolithlabs.com/setup"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20