# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/pidgin-latex-1.2.1.ebuild,v 1.5 2009/09/06 15:14:20 maekke Exp $ EAPI="2" inherit flag-o-matic multilib eutils DESCRIPTION="Pidgin plugin that renders latex formulae" HOMEPAGE="http://sourceforge.net/projects/pidgin-latex" SRC_URI="mirror://sourceforge/pidgin-latex/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" DEPEND="net-im/pidgin[gtk] >=x11-libs/gtk+-2" RDEPEND="${DEPEND} virtual/latex-base media-gfx/imagemagick" S=${WORKDIR}/${PN} src_compile() { append-flags -fPIC emake || die "emake failed" } src_install() { emake LIB_INSTALL_DIR="${D}/usr/$(get_libdir)/pidgin" install PREFIX="${D}/usr" \ || die "make install failed" dodoc README CHANGELOG TODO || die }