| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 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 inherit toolchain-funcs cros-workon | 6 inherit toolchain-funcs cros-workon |
| 7 | 7 |
| 8 DESCRIPTION="display rootfs device" | 8 DESCRIPTION="Chrome OS root block device tool/library" |
| 9 HOMEPAGE="http://src.chromium.org" | 9 HOMEPAGE="http://src.chromium.org" |
| 10 SRC_URI="" | 10 SRC_URI="" |
| 11 LICENSE="GPLv2" | 11 LICENSE="BSD" |
| 12 SLOT="0" | 12 SLOT="0" |
| 13 KEYWORDS="~amd64 ~x86 ~arm" | 13 KEYWORDS="~amd64 ~x86 ~arm" |
| 14 IUSE="" | 14 IUSE="" |
| 15 | 15 |
| 16 src_compile() { | 16 src_compile() { |
| 17 tc-getCC | 17 tc-getCC |
| 18 emake || die | 18 emake || die |
| 19 } | 19 } |
| 20 | 20 |
| 21 src_install() { | 21 src_install() { |
| 22 dodir /usr/bin | 22 dodir /usr/bin |
| 23 exeinto /usr/bin | 23 exeinto /usr/bin |
| 24 doexe ${S}/rootdev | 24 doexe ${S}/rootdev |
| 25 |
| 26 dodir /usr/lib |
| 27 dolib.so librootdev.so* |
| 28 |
| 29 dodir /usr/include/rootdev |
| 30 insinto /usr/include/rootdev |
| 31 doins rootdev.h |
| 25 } | 32 } |
| OLD | NEW |