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