blob: 041069f38491b8397ade2b7275c9e831139c85d3 (
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
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 user
DESCRIPTION="library for Irman control of Unix software"
HOMEPAGE="http://iguanaworks.net/index.php"
SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
# sys-apps/lsb-release is used by the init script for detecting Gentoo
RDEPEND="dev-libs/popt
sys-apps/lsb-release
virtual/libusb:0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
>=dev-lang/swig-2.0.0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
pkg_setup() {
enewgroup iguanair
enewuser iguanair -1 -1 -1 'iguanair,usb'
python-single-r1_pkg_setup
}
src_prepare() {
default
# Working around bug in SWIG version checking
sed -i -e 's:1.3.31:2.0.0:g' configure || die
}
src_install() {
default
python_optimize
dodoc WHY notes.txt protocols.txt
rm -f docs/{Makefile,pullDocs} || die
dodoc -r docs
}
|