| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="4" |
| CROS_WORKON_COMMIT="001c8b4f28a523d296f34541f05d93f6aaa84bab" |
| CROS_WORKON_TREE="55290e2b267ac043e3a0a242dfcbbff57ac756c2" |
| CROS_WORKON_PROJECT="chromiumos/platform/libevdev" |
| CROS_WORKON_USE_VCSID=1 |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| |
| inherit toolchain-funcs multilib cros-debug cros-workon |
| |
| DESCRIPTION="evdev userspace library" |
| HOMEPAGE="http://www.chromium.org/" |
| SRC_URI="" |
| |
| LICENSE="BSD" |
| SLOT="0" |
| KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" |
| IUSE="-asan -clang" |
| REQUIRED_USE="asan? ( clang )" |
| |
| src_prepare() { |
| cros-workon_src_prepare |
| } |
| |
| src_configure() { |
| clang-setup-env |
| cros-workon_src_configure |
| } |
| |
| src_compile() { |
| cros-workon_src_compile |
| } |
| |
| src_install() { |
| cros-workon_src_install |
| emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install |
| } |