diff options
Diffstat (limited to 'gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild')
-rw-r--r-- | gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild b/gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild new file mode 100644 index 000000000000..9f77f4430a45 --- /dev/null +++ b/gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild @@ -0,0 +1,62 @@ +# 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> +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-core/gnome-core-1.4.0.1.ebuild,v 1.1 2001/04/15 18:57:14 pete Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="gnome-core" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${A} + ftp://gnome.eazel.com/pub/gnome/unstable/sources/${PN}/${A}" +HOMEPAGE="http://www.gnome.org/" + +RDEPEND="gtkhtml? ( >=gnome-base/gtkhtml-0.7 ) + >=gnome-base/control-center-1.2.4 + >=gnome-base/glibwww-0.2-r1 + >=gnome-base/libghttp-1.0.9" + +DEPEND="${RDEPEND} + >=dev-util/xml-i18n-tools-0.8 + >=sys-devel/autoconf-2.13 + >=sys-devel/automake-1.4" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + try NOCONFIGURE=yes srcdir=${S} bash macros/autogen.sh +} + +src_compile() { + local myconf + local myldflags + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + if [ "`use gtkhtml`" ] + then + myconf="${myconf} --enable-gtkhtml-help" + fi + if [ "`use kde`" ] + then + myconf="${myconf} --with-kde-datadir=/opt/kde2/share" + fi + try ./configure --host=${CHOST} --mandir=/opt/gnome/share/man \ + --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome \ + ${myconf} + try make +} + +src_install() { + try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/opt/gnome mandir=${D}/opt/gnome/share/man install + dodoc AUTHORS COPYING* ChangeLog README NEWS +} + + + + + + + + |