summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-01-03 19:37:55 +0000
committerPacho Ramos <pacho@gentoo.org>2013-01-03 19:37:55 +0000
commit14eb81548afe2acf2b464ef64945403184dfd187 (patch)
tree00be268d084540614768bee72191407c209e0f5e /dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild
parentConvert to distutils-r1, which should resolve bug 449978. (diff)
downloadhistorical-14eb81548afe2acf2b464ef64945403184dfd187.tar.gz
historical-14eb81548afe2acf2b464ef64945403184dfd187.tar.bz2
historical-14eb81548afe2acf2b464ef64945403184dfd187.zip
Set QA_PREBUILT (#449962 by Diego Elio Pettenò)
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild')
-rw-r--r--dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild b/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild
index b296f780526f..5d7b77f4ed2f 100644
--- a/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild
+++ b/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 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-r1.ebuild,v 1.1 2011/02/22 17:02:25 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftd2xx/libftd2xx-0.4.16-r1.ebuild,v 1.2 2013/01/03 19:37:51 pacho Exp $
+EAPI=5
inherit multilib
MY_P="${PN}${PV}"
@@ -16,6 +17,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
+QA_PREBUILT="*"
+
S=${WORKDIR}
src_install() {
@@ -23,20 +26,20 @@ src_install() {
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
+ 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 ftd2xx.h WinTypes.h || die
+ doins ftd2xx.h 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 || die "doins failed"
+ doins -r sample
insinto /usr/share/doc/${PF}/sample
- doins -r lib_table || die "doins failed"
+ doins -r lib_table
fi
dodoc Config.txt FAQ.txt README.dat