summaryrefslogtreecommitdiff
blob: 39b28859cafd0d6c28db2eb9ea5d65a2f2865ea3 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/logjam/logjam-4.1.2-r1.ebuild,v 1.2 2003/09/05 22:01:49 msterret Exp $

IUSE="xmms spell gtkhtml"

DESCRIPTION="GTK2-based LiveJournal client"
HOMEPAGE="http://logjam.danga.com/"
SRC_URI="http://logjam.danga.com/download/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"

DEPEND=">=x11-libs/gtk+-2
	>=dev-libs/libxml2-2.0
	net-ftp/curl
	gtkhtml? ( >=gnome-extra/libgtkhtml-3.0 )
	spell? ( app-text/gtkspell )
	xmms? ( media-sound/xmms )"

src_compile () {
	local myconf

	use xmms && myconf="${myconf} --enable-xmms"
	use gtkhtml && myconf="${myconf} --with-gtkhtml"

	econf ${myconf} || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc README TODO ChangeLog COPYING AUTHORS
}