/[gentoo-x86]/app-misc/iguanaIR/iguanaIR-1.0.1.ebuild
Gentoo

Contents of /app-misc/iguanaIR/iguanaIR-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 7 15:14:39 2012 UTC (2 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Version bump wrt #308921 by Derek Adams and Clement Siuchung Cheung. This version will respect LDFLAGS wrt #337354 and missing -lpthread wrt #367643 by Diego Elio Pettenò. Workaround broken SWIG version check and missing dependency wrt #398877 by "digital.or".

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/iguanaIR/iguanaIR-0.93.ebuild,v 1.8 2012/05/07 14:38:02 ssuominen Exp $
4
5 EAPI=4
6 inherit python user
7
8 DESCRIPTION="library for Irman control of Unix software"
9 HOMEPAGE="http://iguanaworks.net/index.php"
10 SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2"
11
12 LICENSE="GPL-2 LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
15 IUSE=""
16
17 # sys-apps/lsb-release is used by the init script for detecting Gentoo
18 RDEPEND="dev-libs/popt
19 sys-apps/lsb-release
20 virtual/libusb:0"
21 DEPEND="${RDEPEND}
22 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
23 >=dev-lang/swig-2.0.0"
24
25 pkg_setup() {
26 enewgroup iguanair
27 enewuser iguanair -1 -1 -1 'iguanair,usb'
28
29 python_set_active_version 2
30 python_pkg_setup
31 }
32
33 src_prepare() {
34 # Working around bug in SWIG version checking
35 sed -i -e 's:1.3.31:2.0.0:g' configure || die
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install
40
41 dodoc AUTHORS README.txt WHY notes.txt protocols.txt
42
43 rm -f docs/{Makefile,pullDocs}
44 dodoc -r docs
45 }

  ViewVC Help
Powered by ViewVC 1.1.20