# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/soup/soup-0.7.4-r1.ebuild,v 1.7 2004/02/22 23:08:37 agriffis Exp $ IUSE="ssl doc" inherit gnome.org libtool S="${WORKDIR}/${P}" DESCRIPTION="Soup is a SOAP implementation" HOMEPAGE="http://www.gnome.org/" DEPEND=">=dev-util/pkgconfig-0.12.0 =dev-libs/glib-1.2* dev-libs/libxml dev-libs/popt ssl? ( dev-libs/openssl ) doc? ( >=dev-util/gtk-doc-0.9-r2 )" LICENSE="GPL-2 | LGPL-2" SLOT="0" KEYWORDS="x86 sparc ppc" src_compile() { elibtoolize local myconf="" use ssl \ && myconf="--enable-ssl" \ || myconf="--disable-ssl" use doc \ && myconf="${myconf} --enable-gtk-doc" \ || myconf="${myconf} --disable-gtk-doc" # there is a --enable-apache here..... econf \ ${myconf} \ --with-libxml=1 || die # Evolution 1.1 and 1.2 need it with libxml1 # dont always work with -j4 -- 9 Nov 2002 make || die } src_install() { einstall || die dodoc AUTHORS ABOUT-NLS COPYING* ChangeLog README* INSTALL NEWS TODO }