LICENSE="LGPL-2"
SLOT="0"
IUSE="cxx doc examples python"
IUSE="cxx doc ftdi_eeprom examples python"
RDEPEND="virtual/libusb:0
cxx? ( dev-libs/boost )
cmake-utils_src_install
dodoc ChangeLog README
if use ftdi_eeprom ; then
dobin "${CMAKE_BUILD_DIR}"/ftdi_eeprom/ftdi_eeprom
fi
if use doc ; then
doman doc/man/man3/*
dohtml doc/html/*
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-embedded</herd>
<use>
<flag name="ftdi_eeprom">Build utility for reading/writing EEPROM config in FTDI chips</flag>
</use>
</pkgmetadata>