summaryrefslogtreecommitdiff
blob: 29e337c6af485accbf2165afdac3a70e0177cdf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/screem/screem-0.6.0.ebuild,v 1.10 2004/06/25 01:12:00 agriffis 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"
SLOT="0"
LICENSE="GPL-2"

RDEPEND=">=gnome-base/libgnome-2.0.2
	>=gnome-base/libgnomeui-2.0.2
	>=dev-libs/libxml2-2.4.3
	>=gnome-base/libglade-1.99.2
	>=gnome-base/gconf-1.2.1
	>=gnome-base/gnome-vfs-2.0
	>=x11-libs/gtk+-2.0
	>=dev-libs/glib-2.0
	>=gnome-base/libbonobo-2.0
	>=gnome-base/libbonoboui-2.0
	=gnome-extra/libgtkhtml-2*
	>=gnome-base/libgnomeprint-1.110.0
	>=gnome-base/libgnomeprintui-1.110.0
	app-text/scrollkeeper
	ssl? ( dev-libs/openssl )
	zlib? ( sys-libs/zlib )"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_compile() {

	local myconf=""


	use ssl && myconf="$myconf --with-ssl"

	use zlib || myconf="$myconf --without-zlib"

	econf ${myconf} || die "Configuration Failure"

	emake || die "Compilation Failure"
}

src_install () {
	addwrite /var/lib/scrollkeeper/
	make DESTDIR=${D} install

#	einstall || die "Installation Failure"

	dodoc ABOUT-NLS AUTHORS BUGS ChangeLog INSTALL NEWS README TODO
}