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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon May 7 14:38:02 2012 UTC (2 years, 4 months ago) by ssuominen
Branch: MAIN
Changes since 1.7: +17 -10 lines
Missing virtual/libusb:0 dependency wrt #336511 by Clement Siuchung Cheung. Missing dev-libs/popt RDEPEND. Missing =dev-lang/python-2* DEPEND. Install to /lib/udev/rules.d instead of /etc/udev/rules.d.

(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.7 2012/01/05 23:30:40 xmw Exp $
4
5 EAPI=4
6 inherit eutils flag-o-matic python
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"
13 SLOT="0"
14 KEYWORDS="amd64 ppc ~ppc64 x86"
15 IUSE=""
16
17 RDEPEND="dev-libs/popt
18 virtual/libusb:0"
19 DEPEND="${RDEPEND}
20 || ( dev-lang/python:2.7 dev-lang/python:2.6 )"
21
22 pkg_setup() {
23 append-flags -fPIC
24
25 python_set_active_version 2
26 python_pkg_setup
27 }
28
29 src_prepare() {
30 sed -i -e 's:CFLAGS =:CFLAGS ?=:' Makefile.in || die
31
32 epatch \
33 "${FILESDIR}"/${P}-gentoo.diff \
34 "${FILESDIR}"/${P}-asneeded.patch
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install
39
40 insinto /lib/udev/rules.d
41 doins "${FILESDIR}"/40-iguanaIR.rules
42 }

  ViewVC Help
Powered by ViewVC 1.1.20