# 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-8.7.ebuild,v 1.1 2005/03/15 14:35:22 seemant Exp $ inherit libtool S=${WORKDIR}/Amaya/work DESCRIPTION="The W3C Web-Browser" SRC_URI="http://www.w3.org/Amaya/Distribution/${PN}-fullsrc-${PV}.tgz" HOMEPAGE="http://www.w3.org/Amaya/" KEYWORDS="~x86 ~ppc ~sparc ~amd64" LICENSE="GPL-2" SLOT="0" IUSE="" RDEPEND="" DEPEND="dev-lang/perl ${RDEPEND}" src_compile() { local myconf="--with-wx" mkdir ${S} cd ${S} ../configure \ ${myconf} \ --prefix=/usr \ --host=${CHOST} make || die } src_install () { dodir /usr make prefix=${D}/usr install || die rm ${D}/usr/bin/amaya rm ${D}/usr/bin/print dosym /usr/Amaya/applis/bin/amaya /usr/bin/amaya dosym /usr/Amaya/applis/bin/print /usr/bin/print }