1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Library to handle different link cables for TI calculators"
9 HOMEPAGE="http://lpg.ticalc.org/prj_tilp/"
10 SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
15 IUSE="debug doc nls static-libs usb"
19 usb? ( virtual/libusb:1 )
20 nls? ( virtual/libintl )"
24 nls? ( sys-devel/gettext )"
26 DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
34 # --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1
37 $(use_enable static-libs static) \
38 $(use_enable debug logging) \
40 $(use_enable usb libusb) \
41 $(use_enable usb libusb10)
45 use doc && HTML_DOCS+=( docs/html/. )
47 find "${D}" -name '*.la' -delete || die
51 elog "Please read README in ${EROOT%/}/usr/share/doc/${PF}"
52 elog "if you encounter any problem with a link cable"