summaryrefslogtreecommitdiff
blob: 0f52b16ee91f73a8961c0d8350586add19299170 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/logjam/logjam-3.0.4-r2.ebuild,v 1.2 2002/10/04 06:13:28 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="GTK-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"

DEPEND=">=x11-libs/gtk+-1.2.10
	net-ftp/curl
	gnome?	( >=gnome-base/gnome-core-1.4.0 )
	xmms? ( media-sound/xmms )"

src_compile () {
	local myconf

	use gnome && myconf="${myconf} --with-gnome=yes"
	use xmms && myconf="${myconf} --enable-xmms"
	
	econf ${myconf} || die "./configure failed"
	emake || die
}

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