From 56beebf4231c58556ac7e3429cbe190681ac00a0 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Tue, 30 Dec 2014 08:33:33 +0000 Subject: fix USE=examples issue, bug #533124, thanks Brendan Horan Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xAABEFD55 --- dev-embedded/libftd2xx/ChangeLog | 8 +++- dev-embedded/libftd2xx/Manifest | 24 +++++++++++- dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild | 44 ++++++++++++++++++++++ dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild | 46 ----------------------- 4 files changed, 73 insertions(+), 49 deletions(-) create mode 100644 dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild delete mode 100644 dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild (limited to 'dev-embedded') diff --git a/dev-embedded/libftd2xx/ChangeLog b/dev-embedded/libftd2xx/ChangeLog index 06139894363b..78336e62281e 100644 --- a/dev-embedded/libftd2xx/ChangeLog +++ b/dev-embedded/libftd2xx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/libftd2xx # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.12 2014/05/04 13:22:19 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/ChangeLog,v 1.13 2014/12/30 08:33:23 dlan Exp $ + +*libftd2xx-1.1.12-r1 (30 Dec 2014) + + 30 Dec 2014; Yixun Lan -libftd2xx-1.1.12.ebuild, + +libftd2xx-1.1.12-r1.ebuild: + fix USE=examples issue, bug #533124, thanks Brendan Horan 04 May 2014; Manuel RĂ¼ger metadata.xml: Fix metadata.xml. diff --git a/dev-embedded/libftd2xx/Manifest b/dev-embedded/libftd2xx/Manifest index 07c83fbecd9f..947af2f51b29 100644 --- a/dev-embedded/libftd2xx/Manifest +++ b/dev-embedded/libftd2xx/Manifest @@ -1,7 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST libftd2xx0.4.16.tar.gz 2124501 SHA256 84e2b90c2d553837d30d435fa5e4e353a4c051a51b50a07251cdd59ada7a4a96 SHA512 3a945bd31750dafd08cb86e875263e4fdb7a641676e91caf12420769ff12b505e34ec3a88d80dd43590d039c2ace280f166d1ebda2dcc399fb696d9f6c298f20 WHIRLPOOL 3377cf086fa62d8e363f4e5456fd180361fd47c1b0074059e5a55a2f765c936af91c15ff84c26a05df734c365771d50e68387adaf8cd083fa63dc0ae8929e641 DIST libftd2xx0.4.16_x86_64.tar.gz 2099109 SHA256 b80233143de6b8077ade3e7d9c9819a2c0a4dbf4fd9fbff756b72d656dc611ec SHA512 e11ffa917560b6fb974092bcd89ef95f21651a3ce84d0bc7cc7647c4fe031368209db3b4ab52f8d6240ee89c2e6335e89135d4f358c4271284f8a830655608a9 WHIRLPOOL ad8bfe48e30ea20dd422cc2047bc8c06b4c9f225044fdc1fd96d3fa3876f894cea9094dfaffb1ec94c4decf2b89ebb802d7a60fd62ce3f5919b921877b7a039a DIST libftd2xx1.1.12.tar.gz 950540 SHA256 644951c1d7eeac05b0a648a105fd84ba14b0b20250f6b70f1a63e69d2f6b2579 SHA512 afe0a8a7ccc47eb8888346dabdbfb41e182f7dadee7a57a1c4ffce544aebe5cab45c3e64de4ebeebdc0f31961617a79cbcf11dadfebde65ee79ca38e6234995a WHIRLPOOL e56228f9c42aebeb0c425ea20a89466ac07615a943e9ddb7585762315a581026a1e59df60ed0813c78b8a28842728545276dc3c697a6c9624b66ef8fc3e08a7a EBUILD libftd2xx-0.4.16-r1.ebuild 1328 SHA256 97bf0c100ef54ce8bb79dc117177af7ab22dc6ba27937113890a69e62a72625c SHA512 1a82bce6c53747999815960c017d45d71e8cf2b44456683b8e39ff7b34922560b54a77a459e78e8c5a94528dbfe8417693ac898b2d4c1f3302b6166fd50f51fa WHIRLPOOL bd9a54c5db353936c152f488eefa3191b693fd300f184abcc3d45897af917527da60d258d6125f6625ff151f27be780d2d33c8907d4889ead94d5e31b3005c1e -EBUILD libftd2xx-1.1.12.ebuild 1245 SHA256 2e099671a4491685ed6c07109bacca49f53f438f6f918c5773807970889476a9 SHA512 b68632d9b7e224193edd8ce1795169eadf789e6e56de140ab1837f92ead61e5ad7ff635b19f5518ff33035162fd883d34965fc654b3d57af5b32d9a341e51478 WHIRLPOOL 333c86dfb4bdbb5fce91bc34ade5637b74d96497410655b8c51767ca36ed4ab99144e4823cc89998c65661ad6ffbe46420940bd60d875610b26b67dba5801c12 -MISC ChangeLog 1959 SHA256 408c404709f172dba1c9e93502e07ca46a3f997cc5fd5b18b23bdea78b94f15f SHA512 7ec18a8f34d4015a8bf245a53bd4c2b4638b9a6189b17a838c6e84a50622761c713873d7794a386fa6c80a8de99b1486a4faa92a73255436a3a14621e279e510 WHIRLPOOL 2ec38720e47a2a5e44a9ea24c5862a6a6c5aade9c1d30b5b6dea9b3d7109ac2cae6cefd441a999fef1d9616cac56a0a661fccd614fba549173dfbfa1e19662c6 +EBUILD libftd2xx-1.1.12-r1.ebuild 1177 SHA256 d654f40143522440471dc981a70fefaeda40dbd605cfba681ad00dff6398269a SHA512 e0230b551b4f4781747354ebf5bf0762ea7f759308aa1a0d139befc15f3b5277eff118d23251cab58bdc58f75148c70c663a05d4d234e8c7fc1fea545c531143 WHIRLPOOL 97752ecd0b338640eb33df6c0c008395fa90a263447a5fa666565cff02d923477b4fa295d189bc036e7d9afa558432d1cef51e27369b1e9c189493638883a272 +MISC ChangeLog 2155 SHA256 1028c06635d13b854bc4163006e595e7682f480fd98b68a61141f1af664bacb6 SHA512 4ae3778310824a53f9a25037a16dad9715e6dc3e2953e3815589415d30267ce3b667fe6ce884ec1da7a7dcb3c1bab553bbb83fdd5a1df5265d337a96a8985b6d WHIRLPOOL 5614d50b1e6c8ef914379f3c56b2fd6c16297c3452e4ed5eeaca722e018088065db9a3354726efcb120bce0825fe4456f91fabb79c77133203fd78b737475f47 MISC metadata.xml 323 SHA256 7f6bf09cf38bc8a2629939d5ef2ee89cb56dc0690c6987bb3e3c6221d3576de6 SHA512 0673b7638d044ec8f56d08c95038749f0ad74d1a54d8d1f8faa45f957bb2e49ab14cecd4a3cbe1185b1669764b99bfff697bc8aa4e7308319684d76234876e60 WHIRLPOOL 6bad0e9277168d032889b2c457af70c3cb588f571f7db60d88fe2a4f3107b5dd7d3244cdfe5b79bfa0aec22663637326a52ddf48069fb56af27a1dc8a6e758a8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJUomNbAAoJEJIMDbyqvv1VCowQAJeZ5rSThbvcx3LuP8AS6EHS +HFEftaI+zxRmlKUiMf8dHRmmHU/novzweH4e70wxNWFd/abF/7PntgLFNsBpKRLM +Z6XAmsjNvKuI9+WMJLiFqD1fMpDQ+DG2kCabAlM2wU0OzX0V9YjaIrhD7JUpBEPO +cgax6Tflz/XEW1PvUevLYa1hhX2eguZLDbjnON7zbCdtRJ/TB/sYQa/ttL2zzkPN +RMgxfOxdKbM5ai4d8mRf3gdIxvMNq85K+xEgGMIYgsI1KsZ92hOPCRFkfTaOjMYL +n5LZ7wxzFsTtJKaPoMftauA5tUdTUJz+/LwonkcsIZ2hJWwB85YfP4KWOzH3rxYK +GRILk26TDZRnKDvumWzfoR3awfYut6u3IKogJefXIMzVjy17FdZfEZqx6LlmJbT5 +foG03Z6M2xbYDKAlgSriuG4/Br/eY/SEuDK0ulovqtzcPw5HPi2rDKZO2/prW8Yp +oIkuj9r1vkcDYOfasRM+RBNfVezPnEfU2e+wMA33ZyRoamIuoGlV80wVCOsAySOP +pmXMlPqx7fKbXxTXpKeDmWI4IrfbQCWCHPFx0/6iCb+5ffRF1IB00zD1orD9S8BA +u90jZAyHSfxhduGLOFFUtETTKeIJzm/oq6riyWfvMukJqVb6xxTXGQQOmynkw98i +qSUUUwwb4C1pXhi8UX4I +=xCbS +-----END PGP SIGNATURE----- diff --git a/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild b/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild new file mode 100644 index 000000000000..b49799bc3260 --- /dev/null +++ b/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild,v 1.1 2014/12/30 08:33:23 dlan Exp $ + +EAPI=5 +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="http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz" + +LICENSE="FTDI LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="examples" + +QA_PREBUILT="*" + +S=${WORKDIR} + +src_install() { + + use arm && cd "${S}"/release/build/arm926 + use amd64 && cd "${S}"/release/build/x86_64 + use x86 && cd "${S}"/release/build/i386 + + into /opt + dolib.so ${PN}.so.${PV} + dosym ${PN}.so.${PV} /opt/$(get_libdir)/${PN}.so.${PV:0:1} + dosym ${PN}.so.${PV:0:1} /opt/$(get_libdir)/${PN}.so + insinto /usr/include + doins "${S}"/release/ftd2xx.h "${S}"/release/WinTypes.h + + dodir /etc/env.d + echo "LDPATH=\"/opt/$(get_libdir)\"" > ${D}/etc/env.d/50libftd2xx || die + if use examples ; then + insinto /usr/share/doc/${PF}/sample + doins -r "${S}"/release/examples + fi + + dodoc "${S}"/release/ReadMe.txt +} diff --git a/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild b/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild deleted file mode 100644 index 45a6e37d1324..000000000000 --- a/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild,v 1.1 2014/05/04 11:20:55 hwoarang Exp $ - -EAPI=5 -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="http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz" - -LICENSE="FTDI LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -QA_PREBUILT="*" - -S=${WORKDIR} - -src_install() { - - use amd64 && cd "${S}"/release/build/x86_64 - use x86 && cd "${S}"/release/build/i386 - - into /opt - dolib.so ${PN}.so.${PV} - dosym ${PN}.so.${PV} /opt/$(get_libdir)/${PN}.so.${PV:0:1} - dosym ${PN}.so.${PV:0:1} /opt/$(get_libdir)/${PN}.so - insinto /usr/include - doins "${S}"/release/ftd2xx.h "${S}"/release/WinTypes.h - - dodir /etc/env.d - echo "LDPATH=\"/opt/$(get_libdir)\"" > ${D}/etc/env.d/50libftd2xx || 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 - insinto /usr/share/doc/${PF}/sample - doins -r lib_table - fi - - dodoc "${S}"/release/ReadMe.txt -} -- cgit v1.2.3-65-gdbad