/[gentoo-x86]/sci-libs/libticables2/libticables2-1.3.3.ebuild
Gentoo

Contents of /sci-libs/libticables2/libticables2-1.3.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Jan 24 07:40:05 2013 UTC (2 years, 7 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
sci-libs/libticables2: We need enable-libusb and enable-libusb10 for usb support; debugging support added

(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libticables2/libticables2-1.3.3.ebuild,v 1.7 2013/01/23 11:48:14 jlec Exp $
4
5 EAPI=5
6
7 inherit eutils multilib
8
9 DESCRIPTION="Library to handle different link cables for TI calculators"
10 HOMEPAGE="http://lpg.ticalc.org/prj_tilp/"
11 SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
16 IUSE="doc nls static-libs usb"
17
18 RDEPEND="
19 dev-libs/glib:2
20 usb? ( virtual/libusb:1 )
21 nls? ( virtual/libintl )"
22
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig
25 nls? ( sys-devel/gettext )"
26
27 DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
28
29 src_configure() {
30 # --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1
31 econf \
32 --disable-libusb \
33 --disable-rpath \
34 $(use_enable nls) \
35 $(use_enable static-libs static) \
36 $(use_enable usb libusb10)
37 }
38
39 src_install() {
40 default
41 use doc && dohtml docs/html/*
42 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/${PN}.la
43 }
44
45 pkg_postinst() {
46 elog "Please read README in /usr/share/doc/${PF}"
47 elog "if you encounter any problem with a link cable"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20