summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2014-12-30 08:33:23 +0000
committerYixun Lan <dlan@gentoo.org>2014-12-30 08:33:23 +0000
commit4e730baaf7299a88c4ea2cea30aab52ac6224779 (patch)
tree3269f24ce4301251cb04ecf11800b0a3938ef5cd /dev-embedded/libftd2xx
parentAvoid double compilation and dependency on rake-compiler. Add ruby22. (diff)
downloadgentoo-2-4e730baaf7299a88c4ea2cea30aab52ac6224779.tar.gz
gentoo-2-4e730baaf7299a88c4ea2cea30aab52ac6224779.tar.bz2
gentoo-2-4e730baaf7299a88c4ea2cea30aab52ac6224779.zip
fix USE=examples issue, bug #533124, thanks Brendan Horan
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'dev-embedded/libftd2xx')
-rw-r--r--dev-embedded/libftd2xx/ChangeLog8
-rw-r--r--dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild (renamed from dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild)10
2 files changed, 11 insertions, 7 deletions
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 <dlan@gentoo.org> -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 <mrueg@gentoo.org> metadata.xml:
Fix metadata.xml.
diff --git a/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild b/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild
index 45a6e37d1324..b49799bc3260 100644
--- a/dev-embedded/libftd2xx/libftd2xx-1.1.12.ebuild
+++ b/dev-embedded/libftd2xx/libftd2xx-1.1.12-r1.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $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
@@ -13,7 +13,7 @@ SRC_URI="http://www.ftdichip.com/Drivers/D2XX/Linux/${MY_P}.tar.gz"
LICENSE="FTDI LGPL-2.1+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="examples"
QA_PREBUILT="*"
@@ -22,6 +22,7 @@ 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
@@ -35,11 +36,8 @@ src_install() {
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
+ doins -r "${S}"/release/examples
fi
dodoc "${S}"/release/ReadMe.txt