blob: 5677288cd2e32aca1ce0ea56648ff1561d3454f6 [file] [log] [blame]
# 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="23f8ea74685ea0a03be8649ca33d5664bc789393"
CROS_WORKON_TREE="83369a6d038b609bffff77050e9aa060f931d893"
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="*"
IUSE="-asan"
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
asan-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
}