| # Copyright 1999-2010 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: $ |
| |
| EAPI=4 |
| CROS_WORKON_PROJECT="chromiumos/third_party/wayland" |
| |
| inherit autotools cros-workon toolchain-funcs |
| |
| DESCRIPTION="Wayland protocol libraries" |
| HOMEPAGE="http://wayland.freedesktop.org/" |
| |
| LICENSE="CCPL-Attribution-ShareAlike-3.0 MIT" |
| SLOT="0" |
| KEYWORDS="~amd64 ~x86" |
| IUSE="static-libs" |
| |
| RDEPEND="dev-libs/expat |
| dev-libs/libffi" |
| DEPEND="${RDEPEND}" |
| |
| src_prepare() { |
| eautoreconf |
| } |
| |
| src_configure() { |
| if tc-is-cross-compiler ; then |
| econf $(use_enable static-libs static) --disable-scanner |
| else |
| econf $(use_enable static-libs static) |
| fi |
| } |