diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-17 09:56:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-17 09:56:18 +0000 |
commit | 3777484b46c45297abca63e1c2343205a1bbf21d (patch) | |
tree | ca2c52153659c621e666158c5e86d7a2a08ac8ea /dev-embedded | |
parent | bump to 2.12.0, bug #271971 and eapi2ify, define eapi before inherit (diff) | |
download | gentoo-2-3777484b46c45297abca63e1c2343205a1bbf21d.tar.gz gentoo-2-3777484b46c45297abca63e1c2343205a1bbf21d.tar.bz2 gentoo-2-3777484b46c45297abca63e1c2343205a1bbf21d.zip |
Version bump, add multilib support #261315 by Micke Prag, and fix path install #261286 by Diego E. Pettenò.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/libftd2xx/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/libftd2xx/libftd2xx-0.4.16.ebuild | 42 |
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-embedded/libftd2xx/ChangeLog b/dev-embedded/libftd2xx/ChangeLog index 02a9f54a4c6e..d2d9065674da 100644 --- a/dev-embedded/libftd2xx/ChangeLog +++ b/dev-embedded/libftd2xx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/libftd2xx -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.3 2008/10/26 20:03:14 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.4 2009/06/17 09:56:18 vapier Exp $ + +*libftd2xx-0.4.16 (17 Jun 2009) + + 17 Jun 2009; Mike Frysinger <vapier@gentoo.org> +libftd2xx-0.4.16.ebuild: + Version bump, add multilib support #261315 by Micke Prag, and fix path + install #261286 by Diego E. Pettenò. 26 Oct 2008; Mike Frysinger <vapier@gentoo.org> libftd2xx-0.4.13-r1.ebuild: diff --git a/dev-embedded/libftd2xx/libftd2xx-0.4.16.ebuild b/dev-embedded/libftd2xx/libftd2xx-0.4.16.ebuild new file mode 100644 index 000000000000..96d5f8aecedb --- /dev/null +++ b/dev-embedded/libftd2xx/libftd2xx-0.4.16.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16.ebuild,v 1.1 2009/06/17 09:56:18 vapier Exp $ + +inherit multilib + +MY_P="${PN}${PV}" + +DESCRIPTION="Library that allows a direct access to a USB device" +HOMEPAGE="http://www.ftdichip.com/Drivers/D2XX.htm" +SRC_URI="amd64? ( http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}_x86_64.tar.gz ) + x86? ( http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz )" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +S=${WORKDIR} + +src_install() { + use x86 && cd ${MY_P} + use amd64 && cd ${MY_P}_x86_64 + + into /opt + dolib.so ${PN}.so.${PV} || die + dosym ${PN}.so.${PV} /opt/$(get_libdir)/${PN}.so.${PV:0:1} || die + dosym ${PN}.so.${PV:0:1} /opt/$(get_libdir)/${PN}.so || die + + insinto /usr/include + doins ftd2xx.h WinTypes.h || die + + if use examples ; then + find sample lib_table '(' -name '*.so' -o -name '*.[oa]' ')' -exec rm -f {} + + insinto /usr/share/doc/${PF} + doins -r sample || die "doins failed" + insinto /usr/share/doc/${PF}/sample + doins -r lib_table || die "doins failed" + fi + + dodoc Config.txt FAQ.txt README.dat +} |