--- /usr/portage/media-libs/libXcm/libXcm-0.5.2.ebuild 2013-02-04 09:01:19.000000000 +0100 +++ libXcm-0.5.2-r1.ebuild 2013-03-26 21:47:07.331751393 +0100 @@ -1,8 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libXcm/libXcm-0.5.2.ebuild,v 1.2 2013/02/04 07:36:15 xmw Exp $ +# $Header: $ -EAPI=4 +EAPI=5 + +inherit autotools-multilib DESCRIPTION="reference implementation of the net-color spec" HOMEPAGE="http://www.oyranos.org/libxcm/" @@ -13,26 +15,32 @@ KEYWORDS="~amd64 ~x86" IUSE="X doc static-libs" -RDEPEND="X? ( x11-libs/libXmu - x11-libs/libXfixes - x11-libs/libX11 - x11-proto/xproto )" +RDEPEND="X? ( x11-libs/libXmu[abi_x86_32?] + x11-libs/libXfixes[abi_x86_32?] + x11-libs/libX11[abi_x86_32?] + x11-proto/xproto[abi_x86_32?] )" DEPEND="${RDEPEND} app-doc/doxygen" +DOCS=( AUTHORS ChangeLog README ) + src_configure() { - econf --disable-silent-rules \ - $(use_with X x11) \ + local myeconfargs=(--disable-silent-rules + $(use_with X x11) $(use_enable static-libs static) + ) + + autotools-multilib_src_configure } src_compile() { - default + autotools-multilib_src_compile + use doc && doxygen } src_install() { - default + autotools-multilib_src_install use doc && dohtml doc/html/* }