View | Details | Raw Unified
Collapse All | Expand All

(-) sylpheed-2.4.0.ebuild (-12 / +11 lines)
 Lines 1-17    Link Here 
# Copyright 1999-2007 Gentoo Foundation
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-2.4.0.ebuild,v 1.10 2007/05/06 10:49:20 hattya Exp $
# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-2.4.0.ebuild,v 1.9 2007/05/05 12:37:10 jer Exp $
inherit autotools eutils
inherit autotools eutils flag-o-matic
IUSE="crypt ipv6 ldap nls pda spell ssl xface"
IUSE="crypt ipv6 ldap maildir nls pda spell ssl xface"
DESCRIPTION="A lightweight email client and newsreader"
DESCRIPTION="A lightweight email client and newsreader"
HOMEPAGE="http://sylpheed.sraoss.jp/"
HOMEPAGE="http://sylpheed.sraoss.jp/"
SRC_URI="http://sylpheed.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
SRC_URI="http://sylpheed.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~alpha amd64 hppa ia64 ppc ppc64 sparc x86"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
SLOT="0"
DEPEND=">=x11-libs/gtk+-2.4
DEPEND=">=x11-libs/gtk+-2.4
 Lines 42-47    Link Here 
}
}
src_compile() {
src_compile() {
	use maildir && append-flags '-D_PATH_MAILDIR=\"".maildir"\"'
	econf \
	econf \
		`use_enable crypt gpgme` \
		`use_enable crypt gpgme` \
 Lines 52-72    Link Here 
		`use_enable spell gtkspell` \
		`use_enable spell gtkspell` \
		`use_enable ssl` \
		`use_enable ssl` \
		`use_enable xface compface` \
		`use_enable xface compface` \
		|| die
		--with-manualdir=/usr/share/doc/${PF}/html/manual \
		--with-faqdir=/usr/share/doc/${PF}/html/faq || die
	emake || die
	emake || die
}
}
src_install() {
src_install() {
	emake DESTDIR="${D}" install
	emake DESTDIR="${D}" install || die
	dodir /usr/share/pixmaps
	doicon *.png
	insinto /usr/share/pixmaps
	doins *.png
	insinto /usr/share/applications
	domenu sylpheed.desktop
	doins sylpheed.desktop
	dodoc AUTHORS ChangeLog* NEWS* README* TODO*
	dodoc AUTHORS ChangeLog* NEWS* README* TODO*