diff options
author | Ben Lutgens <lamer@gentoo.org> | 2001-07-01 00:57:00 +0000 |
---|---|---|
committer | Ben Lutgens <lamer@gentoo.org> | 2001-07-01 00:57:00 +0000 |
commit | c657faf580e510e5a09f593a8e60777adaa56dcc (patch) | |
tree | 995308f85b116afa0fe710312e19032e544ddd5f /net-www | |
parent | A small improvement to ease Gentoo Linux installation. Now, if ${ROOT}/etc/m... (diff) | |
download | gentoo-2-c657faf580e510e5a09f593a8e60777adaa56dcc.tar.gz gentoo-2-c657faf580e510e5a09f593a8e60777adaa56dcc.tar.bz2 gentoo-2-c657faf580e510e5a09f593a8e60777adaa56dcc.zip |
mozilla 0.9.2 tested by me :-) YMMV
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mozilla/files/digest-mozilla-0.9.2 | 1 | ||||
-rw-r--r-- | net-www/mozilla/mozilla-0.9.2.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/net-www/mozilla/files/digest-mozilla-0.9.2 b/net-www/mozilla/files/digest-mozilla-0.9.2 new file mode 100644 index 000000000000..df11a8040704 --- /dev/null +++ b/net-www/mozilla/files/digest-mozilla-0.9.2 @@ -0,0 +1 @@ +MD5 32bdbc7e7d3ff87e923ac2de12013c26 mozilla-source-0.9.2.tar.gz diff --git a/net-www/mozilla/mozilla-0.9.2.ebuild b/net-www/mozilla/mozilla-0.9.2.ebuild new file mode 100644 index 000000000000..c329d5eb70be --- /dev/null +++ b/net-www/mozilla/mozilla-0.9.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# /home/cvsroot/gentoo-x86/net-www/mozilla/mozilla-0.9.ebuild,v 1.4 2001/06/07 01:45:52 achim Exp + +A=mozilla-source-${PV}.tar.gz +S=${WORKDIR}/mozilla +DESCRIPTION="" +SRC_URI="ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla${PV}/src/${A}" +HOMEPAGE="http://www.mozilla.org" +PROVIDE="virtual/x11-web-browser" + +DEPEND="sys-devel/perl >=gnome-base/ORBit-0.5.7 + >=x11-libs/gtk+-1.2.9 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.0.9 + app-arch/zip + app-arch/unzip" +RDEPEND=">=gnome-base/ORBit-0.5.7 + >=x11-libs/gtk+-1.2.9 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.0.9 + app-arch/zip + app-arch/unzip" + +src_compile() { + + try ./configure --prefix=/opt/mozilla --host=${CHOST} \ + --with-gtk --disable-tests --disable-debug \ + --with-extensions=default,irc + try make + cd extensions/irc + try make + cd ../.. + try ./configure --prefix=/opt/mozilla --host=${CHOST} \ + --with-gtk --disable-tests --disable-debug \ + --with-extensions=default,irc + try make BUILD_MODULES=psm + +} + +src_install () { + + dodir /opt/mozilla/include/nspr/{private,obsolete,md} + cd dist/include + cp -f *.h ${D}/opt/mozilla/include + cp -f nspr/*.h ${D}/opt/mozilla/include/nspr + cp -f nspr/obsolete/*.h ${D}/opt/mozilla/include/nspr/obsolete + cp -f nspr/private/*.h ${D}/opt/mozilla/include/nspr/private + cp -f nspr/md/*.cfg ${D}/opt/mozilla/include/nspr/md + + export MOZILLA_OFFICIAL=1 + export BUILD_OFFICIAL=1 + cd ${S}/xpinstall/packager + try make + dodir /opt + tar xzf ${S}/dist/mozilla-`uname -m`-pc-linux-gnu.tar.gz -C ${D}/opt + mv ${D}/opt/package ${D}/opt/mozilla + + exeinto /usr/bin + doexe ${FILESDIR}/mozilla + insinto /etc/env.d + doins ${FILESDIR}/10mozilla + dodoc LEGAL LICENSE README/mozilla/README* + + +} + |