| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 |
| 4 EAPI=2 | 4 EAPI=2 |
| 5 | 5 |
| 6 DESCRIPTION="Software to communicate with servo/miniservo debug boards" | 6 DESCRIPTION="Software to communicate with servo/miniservo debug boards" |
| 7 HOMEPAGE="" | 7 HOMEPAGE="" |
| 8 LICENSE="BSD" | 8 LICENSE="BSD" |
| 9 SLOT="0" | 9 SLOT="0" |
| 10 KEYWORDS="~x86 ~amd64" | 10 KEYWORDS="~x86 ~amd64" |
| 11 IUSE="" | 11 IUSE="" |
| 12 | 12 |
| 13 inherit cros-workon distutils | 13 inherit cros-workon distutils |
| 14 | 14 |
| 15 RDEPEND=">=dev-embedded/libftdi-0.18 | 15 RDEPEND=">=dev-embedded/libftdi-0.18 |
| 16 dev-libs/libusb" | 16 dev-libs/libusb" |
| 17 | 17 |
| 18 DEPEND="${RDEPEND}" | 18 DEPEND="${RDEPEND} |
| 19 » app-text/htmltidy |
| 20 » " |
| 19 | 21 |
| 20 src_compile() { | 22 src_compile() { |
| 21 tc-export CC PKG_CONFIG | 23 tc-export CC PKG_CONFIG |
| 22 emake || die "emake compile failed." | 24 emake || die "emake compile failed." |
| 23 distutils_src_compile || die "distutils compile failed" | 25 distutils_src_compile || die "distutils compile failed" |
| 24 } | 26 } |
| 25 | 27 |
| 26 src_install() { | 28 src_install() { |
| 27 emake DESTDIR="${D}" install || die "emake install failed." | 29 emake DESTDIR="${D}" install || die "emake install failed." |
| 28 distutils_src_install || die "distutils install failed" | 30 distutils_src_install || die "distutils install failed" |
| 29 } | 31 } |
| OLD | NEW |