# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/amaya/amaya-9.1.ebuild,v 1.3 2005/06/02 10:43:24 platinumviper Exp $ inherit libtool S=${WORKDIR}/Amaya/LINUX-ELF DESCRIPTION="The W3C Web-Editor/Browser" SRC_URI="http://www.w3.org/Amaya/Distribution/${PN}-fullsrc-${PV}.tgz" HOMEPAGE="http://www.w3.org/Amaya/" KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" IUSE="gl debug" RDEPEND="!media-libs/raptor virtual/opengl virtual/x11 media-libs/imlib >=x11-libs/gtk+-2.0 gl? ( >=media-libs/freetype-2 )" DEPEND="dev-lang/perl dev-libs/openssl ${RDEPEND}" src_compile() { local myconf="" mkdir ${S} cd ${S} if use gl ;then myconf="${myconf} --with-gl --without-mesa" else myconf="${myconf} --without-gl --with-mesa" fi if use debug ;then myconf="${myconf} --with-debug --with-wxdebug" fi myconf="${myconf} --with-wx --enable-bookmarks" ../configure \ ${myconf} \ --prefix=/usr \ --host=${CHOST} make || die } src_install () { dodir /usr make prefix=${D}/usr install || die }