diff options
Diffstat (limited to 'net-www/amaya/amaya-8.4.ebuild')
-rw-r--r-- | net-www/amaya/amaya-8.4.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-www/amaya/amaya-8.4.ebuild b/net-www/amaya/amaya-8.4.ebuild new file mode 100644 index 000000000000..5c845469434a --- /dev/null +++ b/net-www/amaya/amaya-8.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/amaya/amaya-8.4.ebuild,v 1.1 2004/04/21 19:39:16 mholzer Exp $ + +inherit libtool + +S=${WORKDIR}/Amaya/LINUX-ELF + +DESCRIPTION="The W3C Web-Browser" +SRC_URI="ftp://ftp.w3.org/pub/amaya/${PN}-src-${PV}.tgz + ftp://ftp.w3.org/pub/amaya/old/${PN}-src-${PV}.tgz" +HOMEPAGE="http://www.w3.org/Amaya/" + +KEYWORDS="~x86 ~ppc ~sparc" +LICENSE="GPL-2" +SLOT="0" +IUSE="gtk" + +RDEPEND=" + gtk? ( + =x11-libs/gtk+-1.2* + =dev-libs/glib-1.2* + media-libs/imlib + ) + !gtk? ( x11-libs/openmotif )" + +DEPEND="dev-lang/perl + ${RDEPEND}" + +src_compile() { + local myconf="" + mkdir ${S} + cd ${S} + if [ -n "`use gtk`" ] + then + myconf="${myconf} --with-gtk" + + else + myconf="${myconf} --without-gtk" + fi + ../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 +} |