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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 chainsaw 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jlec 1.4 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/nonolith-connect/nonolith-connect-1.0.1.ebuild,v 1.3 2012/12/11 09:48:39 ssuominen Exp $
4 chainsaw 1.1
5     EAPI=4
6    
7 ssuominen 1.3 inherit base scons-utils toolchain-funcs udev user
8 chainsaw 1.1
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="dev-libs/boost
19 ssuominen 1.2 virtual/udev"
20 chainsaw 1.1 DEPEND="${RDEPEND}"
21    
22     PATCHES=( "${FILESDIR}/${PV}-cflags-respect.patch" )
23    
24     pkg_setup() {
25     tc-export CC CXX
26     enewuser nonolithd -1 -1 /dev/null usb
27     }
28    
29     src_configure() {
30     myesconsargs=(
31     boost_static=0
32     )
33     }
34    
35     src_compile() {
36     escons
37     }
38    
39     src_install() {
40     dobin nonolith-connect
41 ssuominen 1.2 newinitd "${FILESDIR}"/nonolith-connect.initd nonolith-connect
42     udev_dorules "${FILESDIR}"/60-nonolith-connect.rules
43 chainsaw 1.1 }
44    
45     pkg_postinst() {
46     einfo "Consider adding nonolith-connect to the default runlevel."
47     einfo "Please connect your CEE hardware, start nonolith-connect "
48     einfo "using the init script provided and then visit:"
49     einfo "http://apps.nonolithlabs.com/setup"
50     }

  ViewVC Help
Powered by ViewVC 1.1.20