diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-11-07 23:08:39 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-11-07 23:08:39 +0000 |
commit | 4b893604afa77acb145c006180e6584ef7f49360 (patch) | |
tree | 592e1a8ccf280bd563a3e6e75ad8530cf227464b /gnome-base/libglade | |
parent | added Header (diff) | |
download | gentoo-2-4b893604afa77acb145c006180e6584ef7f49360.tar.gz gentoo-2-4b893604afa77acb145c006180e6584ef7f49360.tar.bz2 gentoo-2-4b893604afa77acb145c006180e6584ef7f49360.zip |
fix depend if gnome not installed
Diffstat (limited to 'gnome-base/libglade')
-rw-r--r-- | gnome-base/libglade/files/digest-libglade-0.17-r2 | 1 | ||||
-rw-r--r-- | gnome-base/libglade/libglade-0.17-r2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/gnome-base/libglade/files/digest-libglade-0.17-r2 b/gnome-base/libglade/files/digest-libglade-0.17-r2 new file mode 100644 index 000000000000..f5f91da05a20 --- /dev/null +++ b/gnome-base/libglade/files/digest-libglade-0.17-r2 @@ -0,0 +1 @@ +MD5 38b2e2cfd813783fe157617813bfe3b3 libglade-0.17.tar.gz 425984 diff --git a/gnome-base/libglade/libglade-0.17-r2.ebuild b/gnome-base/libglade/libglade-0.17-r2.ebuild new file mode 100644 index 000000000000..2df4dc34e4ee --- /dev/null +++ b/gnome-base/libglade/libglade-0.17-r2.ebuild @@ -0,0 +1,57 @@ +# 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/libglade/libglade-0.17-r2.ebuild,v 1.1 2001/11/07 23:08:39 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="libglade" +SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.gnome.org/" + +RDEPEND=">=dev-libs/libxml-1.8.15 + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )" +# bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + local myopts + +# Bonobo support creates a circular depend // Hallski +# if [ "`use bonobo`" ] +# then +# myconf="--enable-bonobo --disable-bonobotest" +# else +# myconf="--disable-bonobo" +# fi + + if [ -z "`use gnome`" ] + then + myconf="${myconf} --without-gnome" + fi + + if [ -z "`use nls`" ] + then + myconf="${myconf} --disable-nls" + fi + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --disable-gnomedb \ + --disable-bonobo --disable-bonobotest \ + ${myconf} || die + emake || die +} + +src_install() { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + install || die + + dodoc AUTHORS COPYING* ChangeLog NEWS + dodoc doc/*.txt +} |