summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-09-02 19:09:20 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-09-02 19:09:20 +0000
commit0b038f3e02d326f3fbeef80008caf0cd01bd7758 (patch)
tree82bd30fb5b46276f53581b78313aa3b384050441
parentdev-embedded/libftd2xx: initial version (diff)
downloadgentoo-2-0b038f3e02d326f3fbeef80008caf0cd01bd7758.tar.gz
gentoo-2-0b038f3e02d326f3fbeef80008caf0cd01bd7758.tar.bz2
gentoo-2-0b038f3e02d326f3fbeef80008caf0cd01bd7758.zip
dev-embedded/powersoftplus-libftdi: Moved libftd2xx to a separate package, Changed DESCRIPTION
(Portage version: 2.1.2.12)
-rw-r--r--dev-embedded/powersoftplus-libftdi/ChangeLog10
-rw-r--r--dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8-r1 (renamed from dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8)0
-rw-r--r--dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild (renamed from dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8.ebuild)27
3 files changed, 19 insertions, 18 deletions
diff --git a/dev-embedded/powersoftplus-libftdi/ChangeLog b/dev-embedded/powersoftplus-libftdi/ChangeLog
index 91096fbabc23..bd29786190e8 100644
--- a/dev-embedded/powersoftplus-libftdi/ChangeLog
+++ b/dev-embedded/powersoftplus-libftdi/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-embedded/powersoftplus-libftdi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/ChangeLog,v 1.1 2007/09/01 23:39:13 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/ChangeLog,v 1.2 2007/09/02 19:09:20 jurek Exp $
+
+*powersoftplus-libftdi-0.1.8-r1 (02 Sep 2007)
+
+ 02 Sep 2007; Jurek Bartuszek <jurek@gentoo.org>
+ -powersoftplus-libftdi-0.1.8.ebuild,
+ +powersoftplus-libftdi-0.1.8-r1.ebuild:
+ - Moved libftd2xx to a separate package
+ - Changed DESCRIPTION
*powersoftplus-libftdi-0.1.8 (01 Sep 2007)
diff --git a/dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8 b/dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8-r1
index 1249f4b61c49..1249f4b61c49 100644
--- a/dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8
+++ b/dev-embedded/powersoftplus-libftdi/files/digest-powersoftplus-libftdi-0.1.8-r1
diff --git a/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8.ebuild b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
index 1327b7a85d0c..6393533335b9 100644
--- a/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8.ebuild
+++ b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
@@ -1,13 +1,16 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8.ebuild,v 1.1 2007/09/01 23:39:13 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild,v 1.1 2007/09/02 19:09:20 jurek Exp $
-inherit autotools multilib
+inherit multilib
MY_PN="${PN/-libftdi/}"
MY_P="${MY_PN}-${PV}"
-DESCRIPTION="A version of FTDI libraries prepared for use with Ever UPS daemon"
+TABFILE="libd2xx_table.so"
+TABFILEDIR="libftdi/lib_table"
+
+DESCRIPTION="Library which includes a table of VIDs and PIDs of Ever UPS devices"
HOMEPAGE="http://www.ever.com.pl"
SRC_URI="http://www.ever.com.pl/pl/pliki/${MY_P}-x86.tar.gz"
@@ -22,24 +25,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_compile() {
- cd libftdi/lib_table
+ cd "${TABFILEDIR}"
- # Recompile lib_table
+ # Wipe out precompiled binary
emake clean || die "emake failed"
emake || die "emake failed"
}
src_install() {
- ftditabfile="lib_table/libd2xx_table.so"
- ftdifile="libftd2xx.so.0.4.10"
- ftdisym="libftd2xx.so.0 libftd2xx.so"
-
- cd libftdi
-
- dolib.so ${ftditabfile}
- dolib.so ${ftdifile}
- for i in ${ftdisym}
- do
- dosym ${ftdifile} /usr/$(get_libdir)/${i}
- done
+ ftditabfile="${TABFILEDIR}/${TABFILE}"
+ dolib.so ${ftditabfile} || die "dolib.so failed"
}