From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-embedded/libftd2xx: ChangeLog libftd2xx-0.4.16-r1.ebuild |
Date: | Tue, 22 Feb 2011 17:02:37 |
Message-Id: | 20110222170225.9AF3A20054@flycatcher.gentoo.org |
1 | hwoarang 11/02/22 17:02:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libftd2xx-0.4.16-r1.ebuild |
5 | Log: |
6 | Install enviromental file. Bug #355563 |
7 | |
8 | (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.5 dev-embedded/libftd2xx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftd2xx/ChangeLog?rev=1.5&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftd2xx/ChangeLog?rev=1.5&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftd2xx/ChangeLog?r1=1.4&r2=1.5 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v |
20 | retrieving revision 1.4 |
21 | retrieving revision 1.5 |
22 | diff -u -r1.4 -r1.5 |
23 | --- ChangeLog 17 Jun 2009 09:56:18 -0000 1.4 |
24 | +++ ChangeLog 22 Feb 2011 17:02:24 -0000 1.5 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-embedded/libftd2xx |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.4 2009/06/17 09:56:18 vapier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.5 2011/02/22 17:02:24 hwoarang Exp $ |
31 | + |
32 | +*libftd2xx-0.4.16-r1 (22 Feb 2011) |
33 | + |
34 | + 22 Feb 2011; Markos Chandras <hwoarang@g.o> |
35 | + +libftd2xx-0.4.16-r1.ebuild: |
36 | + Install enviromental file. Bug #355563 |
37 | |
38 | *libftd2xx-0.4.16 (17 Jun 2009) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: libftd2xx-0.4.16-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild,v 1.1 2011/02/22 17:02:25 hwoarang Exp $ |
53 | |
54 | inherit multilib |
55 | |
56 | MY_P="${PN}${PV}" |
57 | |
58 | DESCRIPTION="Library that allows a direct access to a USB device" |
59 | HOMEPAGE="http://www.ftdichip.com/Drivers/D2XX.htm" |
60 | SRC_URI="amd64? ( http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}_x86_64.tar.gz ) |
61 | x86? ( http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz )" |
62 | |
63 | LICENSE="as-is" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="examples" |
67 | |
68 | S=${WORKDIR} |
69 | |
70 | src_install() { |
71 | use x86 && cd ${MY_P} |
72 | use amd64 && cd ${MY_P}_x86_64 |
73 | |
74 | into /opt |
75 | dolib.so ${PN}.so.${PV} || die |
76 | dosym ${PN}.so.${PV} /opt/$(get_libdir)/${PN}.so.${PV:0:1} || die |
77 | dosym ${PN}.so.${PV:0:1} /opt/$(get_libdir)/${PN}.so || die |
78 | insinto /usr/include |
79 | doins ftd2xx.h WinTypes.h || die |
80 | |
81 | dodir /etc/env.d |
82 | echo "LDPATH=\"/opt/$(get_libdir)\"" > ${D}/etc/env.d/50libftd2xx || die |
83 | if use examples ; then |
84 | find sample lib_table '(' -name '*.so' -o -name '*.[oa]' ')' -exec rm -f {} + |
85 | insinto /usr/share/doc/${PF} |
86 | doins -r sample || die "doins failed" |
87 | insinto /usr/share/doc/${PF}/sample |
88 | doins -r lib_table || die "doins failed" |
89 | fi |
90 | |
91 | dodoc Config.txt FAQ.txt README.dat |
92 | } |