blob: dea4387726a93e62b3ba0b0868907967fba5b216 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/logjam/logjam-4.5.2.ebuild,v 1.10 2007/11/14 14:51:48 beandog Exp $
IUSE="gtk gtkhtml spell sqlite svg"
inherit
DESCRIPTION="GTK2-based LiveJournal client"
HOMEPAGE="http://logjam.danga.com/"
SRC_URI="http://logjam.danga.com/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
RDEPEND=">=dev-libs/libxml2-2.0
net-misc/curl
>=dev-libs/glib-2
gtk? ( >=x11-libs/gtk+-2.4 )
gtkhtml? ( =gnome-extra/gtkhtml-3.6* )
spell? ( app-text/gtkspell )
svg? ( >=gnome-base/librsvg-2.2.3 )
sqlite? ( >=dev-db/sqlite-3 )"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.29
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
sed -i -e s/logjam.png/logjam_pencil.png/ "${S}"/data/logjam.desktop.in
}
src_compile() {
econf \
$(use_with gtk) \
$(use_with gtkhtml) \
$(use_with spell gtkspell) \
$(use_with svg librsvg) \
$(use_with sqlite sqlite3) \
--without-xmms || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc Changelog doc/README doc/TODO
}
|