| 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-debug cros-workon autotools | 6 inherit cros-debug cros-workon autotools |
| 7 | 7 |
| 8 DESCRIPTION="Chromium OS network usage tracking daemon" | 8 DESCRIPTION="Chromium OS network usage tracking daemon" |
| 9 HOMEPAGE="http://src.chromium.org" | 9 HOMEPAGE="http://src.chromium.org" |
| 10 SRC_URI="" | 10 SRC_URI="" |
| 11 LICENSE="BSD" | 11 LICENSE="BSD" |
| 12 SLOT="0" | 12 SLOT="0" |
| 13 KEYWORDS="~amd64 ~arm ~x86" | 13 KEYWORDS="~amd64 ~arm ~x86" |
| 14 IUSE="test" | 14 IUSE="test" |
| 15 | 15 |
| 16 RDEPEND="chromeos-base/flimflam | 16 RDEPEND="chromeos-base/flimflam |
| 17 chromeos-base/libchrome | 17 chromeos-base/libchrome |
| 18 dev-cpp/gflags | 18 dev-cpp/gflags |
| 19 >=dev-cpp/glog-0.3.1 | 19 >=dev-cpp/glog-0.3.1 |
| 20 dev-libs/dbus-c++ | 20 dev-libs/dbus-c++ |
| 21 dev-libs/glib | 21 dev-libs/glib |
| 22 net-misc/curl" | 22 net-misc/curl" |
| 23 | 23 |
| 24 DEPEND="${RDEPEND} | 24 DEPEND="${RDEPEND} |
| 25 » test? ( dev-cpp/gtest )" | 25 » test? ( |
| 26 » » dev-cpp/gmock |
| 27 » » dev-cpp/gtest |
| 28 » )" |
| 26 | 29 |
| 27 src_prepare() { | 30 src_prepare() { |
| 28 eautoreconf || die "eautoreconf failed" | 31 eautoreconf || die "eautoreconf failed" |
| 29 } | 32 } |
| 30 | 33 |
| 31 src_configure() { | 34 src_configure() { |
| 32 # set NDEBUG (or not) based on value of cros-debug USE flag | 35 # set NDEBUG (or not) based on value of cros-debug USE flag |
| 33 cros-debug-add-NDEBUG | 36 cros-debug-add-NDEBUG |
| 34 econf || die "econf failed" | 37 econf || die "econf failed" |
| 35 } | 38 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 64 install --owner=root --group=root --mode=0644 \ | 67 install --owner=root --group=root --mode=0644 \ |
| 65 "${S}"/cashew.conf "${D}"/etc/init | 68 "${S}"/cashew.conf "${D}"/etc/init |
| 66 | 69 |
| 67 # install D-Bus config file. | 70 # install D-Bus config file. |
| 68 dodir /etc/dbus-1/system.d | 71 dodir /etc/dbus-1/system.d |
| 69 install --owner=root --group=root --mode=0644 \ | 72 install --owner=root --group=root --mode=0644 \ |
| 70 "${S}"/org.chromium.Cashew.conf "${D}"/etc/dbus-1/system.d | 73 "${S}"/org.chromium.Cashew.conf "${D}"/etc/dbus-1/system.d |
| 71 | 74 |
| 72 # TODO(vlaviano): install introspection xml files somewhere? | 75 # TODO(vlaviano): install introspection xml files somewhere? |
| 73 } | 76 } |
| OLD | NEW |