| 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 cros-binary | 6 inherit cros-binary |
| 7 | 7 |
| 8 DESCRIPTION="NVIDIA binary nvrm daemon and libraries for Tegra2" | 8 DESCRIPTION="NVIDIA binary nvrm daemon and libraries for Tegra2" |
| 9 SLOT="0" | 9 SLOT="0" |
| 10 KEYWORDS="arm" | 10 KEYWORDS="arm" |
| 11 IUSE="tegra-local-bins" | 11 IUSE="tegra-local-bins" |
| 12 | 12 |
| 13 RDEPEND="chromeos-base/chromeos-init" | 13 RDEPEND="chromeos-base/chromeos-init" |
| 14 DEPEND="${RDEPEND}" | 14 DEPEND="${RDEPEND}" |
| 15 | 15 |
| 16 if use tegra-local-bins; then | 16 if use tegra-local-bins; then |
| 17 URI_BASE="file://" | 17 URI_BASE="file://" |
| 18 else | 18 else |
| 19 URI_BASE="ssh://tegra2-private@git.chromium.org:6222/home/tegra2-private
" | 19 URI_BASE="ssh://tegra2-private@git.chromium.org:6222/home/tegra2-private
" |
| 20 fi | 20 fi |
| 21 CROS_BINARY_URI="${URI_BASE}/${CATEGORY}/${PN}/${P}.tbz2" | 21 CROS_BINARY_URI="${URI_BASE}/${CATEGORY}/${PN}/${P}.tbz2" |
| 22 CROS_BINARY_SUM="4fa825b154ad7ce4c60cd8b94bd8469bb7ffe167" | 22 CROS_BINARY_SUM="18d6bc4d59ca9c93351eab2acd9bd5c7a5c7fe10" |
| 23 | 23 |
| 24 src_install() { | 24 src_install() { |
| 25 insinto /etc/init | 25 insinto /etc/init |
| 26 doins ${FILESDIR}/etc/init/nvrm.conf || die | 26 doins ${FILESDIR}/etc/init/nvrm.conf || die |
| 27 | 27 |
| 28 insinto /etc/udev/rules.d | 28 insinto /etc/udev/rules.d |
| 29 doins ${FILESDIR}/etc/udev/rules.d/51-nvrm.rules || die | 29 doins ${FILESDIR}/etc/udev/rules.d/51-nvrm.rules || die |
| 30 | 30 |
| 31 cros-binary_src_install | 31 cros-binary_src_install |
| 32 } | 32 } |
| OLD | NEW |