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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jul 9 16:42:43 2013 UTC (7 years ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Version bump. Switch to autototools-utils eclass

(Portage version: 2.2.01.22120-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

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-r1.ebuild,v 1.1 2013/01/24 07:40:05 jlec Exp $
4
5 EAPI=5
6
7 inherit autotools-utils
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="debug 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 local myeconfargs=(
32 --disable-rpath
33 $(use_enable debug logging)
34 $(use_enable nls)
35 $(use_enable usb libusb)
36 $(use_enable usb libusb10)
37 )
38 autotools-utils_src_configure
39 }
40
41 src_install() {
42 autotools-utils_src_install
43 use doc && dohtml docs/html/*
44 }
45
46 pkg_postinst() {
47 elog "Please read README in /usr/share/doc/${PF}"
48 elog "if you encounter any problem with a link cable"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20