# Distributed under the terms of the GNU General Public License, v2 or later # Jonas Berlin Abase="sylpheed-0.5.0pre2" A="${Abase}.tar.bz2" S="${WORKDIR}/${Abase}" DESCRIPTION="a GTK+ based, lightweight, and fast e-mail client" SRC_URI="http://sylpheed.good-day.net/sylpheed/${A}" HOMEPAGE="http://sylpheed.good-day.net/" DEPEND="virtual/glibc virtual/x11 >=gnome-base/gdk-pixbuf-0.11.0 >=media-libs/compface-1.4 nls? ( sys-devel/gettext >=dev-libs/libjconv-2.8 ) " # >=media-libs/imlib-1.9.10 # >=*/gpgme-0.2.1 # >=*/gnupg-1.0.4f src_unpack() { unpack ${A} cd ${S} patch -p0 <${FILESDIR}/${PF}-gentoo.diff } src_compile() { local myconf if [ -z "`use nls`" ] then myconf="--disable-nls" fi try ./configure --host=${CHOST} --prefix=/usr --enable-ipv6 --enable-shared --with-gnu-ld $myconf try pmake } src_install() { try make DESTDIR=${D} install # fix the documentation location cd ${D}/usr/share mkdir doc mv sylpheed/manual doc/${P} rmdir sylpheed # general docs cd ${S} dodoc AUTHORS COPYING ChangeLog* INSTALL* README* TODO* }