1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 if [[ ${PV} == 9999* ]] ; then
8 EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
9 inherit git-2 autotools
11 SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${P}.tar.gz"
12 KEYWORDS="amd64 arm ppc ppc64 sparc x86"
15 DESCRIPTION="Userspace access to FTDI USB interface chips"
16 HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
20 IUSE="cxx doc examples python static-libs"
22 RDEPEND="virtual/libusb:0
23 cxx? ( dev-libs/boost )
24 python? ( dev-lang/python )"
26 python? ( dev-lang/swig )
27 doc? ( app-doc/doxygen )"
30 if [[ ${PV} == 9999* ]] ; then
38 $(use_enable cxx libftdipp) \
39 $(use_with doc docs) \
40 $(use_with examples) \
41 $(use_enable python python-binding) \
42 $(use_enable static-libs static)
46 emake DESTDIR="${D}" install || die
47 use static-libs || find "${D}" -name '*.la' -delete
48 dodoc ChangeLog README
54 if use examples ; then