# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/screem/screem-0.8.1.ebuild,v 1.1 2003/09/16 20:35:10 darkspecter Exp $ IUSE="ssl zlib" S=${WORKDIR}/${P} DESCRIPTION="SCREEM (Site CReating and Editing EnvironmenMent) is an integrated environment of the creation and maintenance of websites and pages" SRC_URI="http://ftp1.sourceforge.net/screem/${P}.tar.gz" HOMEPAGE="http://www.screem.org" KEYWORDS="~x86 ~sparc ~ppc " SLOT="0" LICENSE="GPL-2" RDEPEND=">=gnome-base/libgnome-2.2.0 >=gnome-base/libgnomeui-2.2.0 >=dev-libs/libxml2-2.4.3 >=dev-libs/expat-1.95.6 >=gnome-base/libglade-2.0.0 >=gnome-base/gconf-2.2.0 >=gnome-base/gnome-vfs-2.2.0 >=x11-libs/gtk+-2.2 >=dev-libs/glib-2.2 >=gnome-base/libbonobo-2.2.0 >=gnome-base/libbonoboui-2.2.0 =gnome-extra/libgtkhtml-2* >=gnome-base/libgnomeprint-2.2.0 >=gnome-base/libgnomeprintui-2.2.0 >=x11-libs/gtksourceview-0.3.0 app-text/scrollkeeper ssl? ( dev-libs/openssl ) zlib? ( sys-libs/zlib )" DEPEND="${RDEPEND} dev-util/pkgconfig" DOCS="ABOUT-NLS AUTHORS BUGS ChangeLog INSTALL NEWS README TODO" src_compile() { local myconf="--with-included-neon --with-libxml2 --with-expat" use ssl && myconf="$myconf --with-ssl" use zlib || myconf="$myconf --without-zlib" econf ${myconf} || die "Configuration Failure" epatch ${FILESDIR}/${P}-makefile-fix.patch emake pixmapdir="${prefix}/share" || die "make failed" } src_install () { addwrite /var/lib/scrollkeeper/ make DESTDIR=${D} install dodoc ABOUT-NLS AUTHORS BUGS ChangeLog INSTALL NEWS README TODO }