/[gentoo-x86]/mail-client/spruce/spruce-0.7.6-r2.ebuild
Gentoo

Contents of /mail-client/spruce/spruce-0.7.6-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Dec 21 05:59:48 2006 UTC (12 years, 9 months ago) by compnerd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
gnome 1.x removal

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-client/spruce/spruce-0.7.6-r2.ebuild,v 1.6 2005/04/24 03:00:27 hansmi Exp $
4
5 inherit eutils
6
7 IUSE="ssl nls gnome crypt"
8
9 DESCRIPTION="Gtk email client"
10 SRC_URI="ftp://spruce.sourceforge.net/pub/spruce/devel/${P}.tar.gz"
11 HOMEPAGE="http://spruce.sourceforge.net/"
12
13 DEPEND="=x11-libs/gtk+-1.2*
14 gnome-base/libglade
15 ssl? ( >=dev-libs/openssl-0.9.6 )
16 crypt? ( app-crypt/gnupg )
17 gnome? ( >=gnome-base/gnome-print-0.29-r1 )"
18
19 RDEPEND="nls? ( sys-devel/gettext )"
20
21 SLOT="0"
22 LICENSE="GPL-2"
23 KEYWORDS="x86 sparc ppc"
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28
29 # gcc-3.4 fix
30 epatch ${FILESDIR}/${PN}-gcc34.patch
31
32 autoconf
33 }
34
35 src_compile() {
36 local myconf
37
38 use nls \
39 || myconf="--disable-nls"
40
41 use ssl \
42 && echo "SSL does not work"
43 # myconf="${myconf} --with-ssl"
44
45 use crypt \
46 && myconf="${myconf} --enable-pgp" \
47 || myconf="${myconf} --disable-pgp"
48
49 use gnome \
50 && myconf="${myconf} --enable-gnome"
51
52 CFLAGS="${CFLAGS} `gnome-config --cflags print gdk_pixbuf`"
53
54 econf ${myconf} || die
55 emake || die
56 }
57
58 src_install () {
59 # Don't use DESTDIR, it doesn't follow the rules
60 make prefix=${D}/usr \
61 sysconfdir=${D}/etc \
62 localstatedir=${D}/var/lib \
63 mandir=${D}/usr/share/man \
64 infodir=${D}/usr/share/info \
65 install || die
66
67 dodoc ChangeLog README* AUTHORS DESIGN NEWS THANKS TODO WISHLIST
68 }

  ViewVC Help
Powered by ViewVC 1.1.20