summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-embedded/libftdi/ChangeLog7
-rw-r--r--dev-embedded/libftdi/files/digest-libftdi-0.93
-rw-r--r--dev-embedded/libftdi/libftdi-0.9.ebuild38
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-embedded/libftdi/ChangeLog b/dev-embedded/libftdi/ChangeLog
index 8d1770c5b4df..1566f59c8675 100644
--- a/dev-embedded/libftdi/ChangeLog
+++ b/dev-embedded/libftdi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/libftdi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.13 2007/04/11 19:55:40 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.14 2007/04/11 21:18:31 calchan Exp $
+
+*libftdi-0.9 (11 Apr 2007)
+
+ 11 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +libftdi-0.9.ebuild:
+ Version bump.
11 Apr 2007; Denis Dupeyron <calchan@gentoo.org> -libftdi-0.5.ebuild,
-libftdi-0.6.ebuild:
diff --git a/dev-embedded/libftdi/files/digest-libftdi-0.9 b/dev-embedded/libftdi/files/digest-libftdi-0.9
new file mode 100644
index 000000000000..c1fd38c109da
--- /dev/null
+++ b/dev-embedded/libftdi/files/digest-libftdi-0.9
@@ -0,0 +1,3 @@
+MD5 6b1bf276ba8d623332083477f91deefd libftdi-0.9.tar.gz 201710
+RMD160 adf5fac6586296878451ec31c2820241d45acf07 libftdi-0.9.tar.gz 201710
+SHA256 1ffb6284de02c75a2cd6709b6148eac0336cd0297742500da12aedd151838295 libftdi-0.9.tar.gz 201710
diff --git a/dev-embedded/libftdi/libftdi-0.9.ebuild b/dev-embedded/libftdi/libftdi-0.9.ebuild
new file mode 100644
index 000000000000..bff2ceff97e6
--- /dev/null
+++ b/dev-embedded/libftdi/libftdi-0.9.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-0.9.ebuild,v 1.1 2007/04/11 21:18:31 calchan Exp $
+
+DESCRIPTION="Userspace access to FTDI USB interface chips"
+HOMEPAGE="http://www.intra2net.com/opensource/ftdi/"
+SRC_URI="http://www.intra2net.com/opensource/ftdi/TGZ/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libusb-0.1.7
+ app-doc/doxygen"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s/^SUBDIRS = src examples doc/SUBDIRS = src doc/" ${S}/Makefile.in
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Installation failed"
+ dodoc ChangeLog README
+ for MANPAGE in doc/man/man3/* ; do doman ${MANPAGE} ; done
+ insinto /usr/share/doc/${PF}
+ doins -r doc/html
+}
+
+pkg_postinst() {
+ elog "If you want to compile the examples, you need to :"
+ elog " tar xvfz ${PORTAGE_ACTUAL_DISTDIR}/${A}"
+ elog " cd ${PF}"
+ elog " ./configure"
+ elog " cd examples"
+ elog " sed -i -e 's/\$(top_builddir)\/src\/libftdi.la/\/usr\/lib\/libftdi.la/' Makefile*"
+ elog " make"
+}