Add some live git ebuilds.
authorMike Frysinger <vapier@gentoo.org>
Tue, 22 Jun 2010 23:10:20 +0000 (23:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 22 Jun 2010 23:10:20 +0000 (23:10 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-embedded/libftdi/ChangeLog
dev-embedded/libftdi/Manifest
dev-embedded/libftdi/libftdi-9999.1.0.ebuild [new file with mode: 0644]
dev-embedded/libftdi/libftdi-9999.ebuild [new file with mode: 0644]

index 93812ac33e4b67c7f2510b56ac72695651fa81e3..245ee48cd110f4625cc9851524baa8f5a2f5300a 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-embedded/libftdi
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.50 2010/06/22 20:27:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/ChangeLog,v 1.51 2010/06/22 23:10:20 vapier Exp $
+
+*libftdi-9999.1.0 (22 Jun 2010)
+*libftdi-9999 (22 Jun 2010)
+
+  22 Jun 2010; Mike Frysinger <vapier@gentoo.org> +libftdi-9999.ebuild,
+  +libftdi-9999.1.0.ebuild:
+  Add some live git ebuilds.
 
   22 Jun 2010; Mike Frysinger <vapier@gentoo.org> libftdi-0.17.ebuild:
   Stabilize for all.
index f698cf2e5321a08a5dba93d948d8097055659a7f..26193e015da02741627c604bd51f2eea93badcac 100644 (file)
@@ -5,12 +5,14 @@ DIST libftdi-0.16.tar.gz 426500 RMD160 7ab0cab64cd43239c5a2ed22d85c4e931b3b1625
 DIST libftdi-0.17.tar.gz 435901 RMD160 cca442415a0ee380e9efcdbd60aa48b1cfdecede SHA1 e2ab367f20df8f38fa9754070ad0bea5aa0f6f7a SHA256 d5c0275125ab68a431375083c9544899e578b8f98b83de1254386d0209feabf0
 EBUILD libftdi-0.16.ebuild 1073 RMD160 96cc3f90fa1352ec1db91f2ef52681635cbdcc3c SHA1 961ce0308ab0b7b13a242feae6fa2e1a506477d6 SHA256 4adba8fa3eb4aaef0357c55e06c3122c4b7b3563bb5325bebfd2f31f4d1d9455
 EBUILD libftdi-0.17.ebuild 1294 RMD160 a0aac518e67adde29dd582b644f880c72d127877 SHA1 4505bd7ce86396164bb630c9f4177e12c28025e6 SHA256 6153e07439128c3bcf3933eedb8e29877658d0ef3d233eed6a83d31113b35646
-MISC ChangeLog 5553 RMD160 cb558a522807cfd6cd1b8aa3f050ec9aa28747eb SHA1 8ef2119ddfaddd29eaaee9f52328635ccb151bf6 SHA256 d718193d1268a4911a0566beac88fe8d63e5d7cac80e62fec73332e7ab61af5f
+EBUILD libftdi-9999.1.0.ebuild 1400 RMD160 a6f8e68d76fc0957cc38ecafc23489b7d30fa5e9 SHA1 577a4e3fe739fe71327c275640b27411b35328eb SHA256 1ab5485cbc99b4a07303524621ff90e1aa8c5964847525a249dcc626df30d0d1
+EBUILD libftdi-9999.ebuild 1392 RMD160 3dfabf091cea42decf3a3481eb416ecee0b6a04c SHA1 8950d04d8dc106503e12c05398a1d0daa02020a1 SHA256 858c8baa615fdd809b8d4c194b56a80e6d8182d2fa92f153645f9884adc034ab
+MISC ChangeLog 5744 RMD160 14cfa140da08ba9953f0dad32dd3d37cd779d0d9 SHA1 bffbc7c45fe0480234e2d3424efe91a01f868ba7 SHA256 6a8bb273cdd2f6fdd98395dc236e832994689dd1ce18bcab1f6527cc3f3fb423
 MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.15 (GNU/Linux)
 
-iF4EAREIAAYFAkwhHKkACgkQTwhj9JtAlp6v3wD+NvKJsbsQ8oSdb8U8HzHNZRse
-cYl3bMMs0ujvKegvgywA/0uoce9GLMwLgAa4iMq80w1/woJYb8bq13joSHYrvVcQ
-=6EI4
+iF4EAREIAAYFAkwhQtUACgkQTwhj9JtAlp5b6wD+IehPUQ+O4DUy3PKntKK+u2zi
+qGJWcchDVhEz9y0YABYBALq3d5tCC3tFbxokVL9XRrnfyjSbqo0+/aqvW29gxMd/
+=V/OA
 -----END PGP SIGNATURE-----
diff --git a/dev-embedded/libftdi/libftdi-9999.1.0.ebuild b/dev-embedded/libftdi/libftdi-9999.1.0.ebuild
new file mode 100644 (file)
index 0000000..61a703a
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-9999.1.0.ebuild,v 1.1 2010/06/22 23:10:20 vapier Exp $
+
+EAPI="2"
+
+if [[ ${PV} == 9999* ]] ; then
+       EGIT_REPO_URI="git://developer.intra2net.com/libftdi-1.0"
+       inherit git autotools
+else
+       SRC_URI="http://www.intra2net.com/en/developer/libftdi/download/${P}.tar.gz"
+       KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="Userspace access to FTDI USB interface chips"
+HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="cxx doc examples python"
+
+RDEPEND="virtual/libusb:0
+       cxx? ( dev-libs/boost )
+       python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )"
+
+src_prepare() {
+       if [[ ${PV} == 9999* ]] ; then
+               eautoreconf
+       fi
+
+       # don't bother building examples as we dont want the binaries
+       # installed and the Makefile has broken install targets
+       sed -i '/^SUBDIRS =/s:examples::' Makefile.in
+}
+
+src_configure() {
+       use doc || export ac_cv_path_DOXYGEN=true
+       econf \
+               $(use_enable cxx libftdipp) \
+               $(use_enable python python-binding)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "Installation failed"
+       dodoc ChangeLog README
+
+       if use doc ; then
+               doman doc/man/man3/*
+               dohtml doc/html/*
+       fi
+       if use examples ; then
+               docinto examples
+               dodoc examples/*.c
+       fi
+}
diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild
new file mode 100644 (file)
index 0000000..638c085
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-9999.ebuild,v 1.1 2010/06/22 23:10:20 vapier Exp $
+
+EAPI="2"
+
+if [[ ${PV} == 9999* ]] ; then
+       EGIT_REPO_URI="git://developer.intra2net.com/libftdi"
+       inherit git autotools
+else
+       SRC_URI="http://www.intra2net.com/en/developer/libftdi/download/${P}.tar.gz"
+       KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="Userspace access to FTDI USB interface chips"
+HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="cxx doc examples python"
+
+RDEPEND="virtual/libusb:0
+       cxx? ( dev-libs/boost )
+       python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )"
+
+src_prepare() {
+       if [[ ${PV} == 9999* ]] ; then
+               eautoreconf
+       fi
+
+       # don't bother building examples as we dont want the binaries
+       # installed and the Makefile has broken install targets
+       sed -i '/^SUBDIRS =/s:examples::' Makefile.in
+}
+
+src_configure() {
+       use doc || export ac_cv_path_DOXYGEN=true
+       econf \
+               $(use_enable cxx libftdipp) \
+               $(use_enable python python-binding)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "Installation failed"
+       dodoc ChangeLog README
+
+       if use doc ; then
+               doman doc/man/man3/*
+               dohtml doc/html/*
+       fi
+       if use examples ; then
+               docinto examples
+               dodoc examples/*.c
+       fi
+}