# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-tex/leaflet/leaflet-20041222.ebuild,v 1.7 2008/10/06 04:33:14 jer Exp $ inherit latex-package eutils S=${WORKDIR}/leaflet DESCRIPTION="LaTeX package used to create leaflet-type brochures." SRC_URI="mirror://gentoo/${P}.zip" HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/leaflet/" LICENSE="LPPL-1.3" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="" # checksum from official ftp site changes frequently so we mirror it TEXMF="/usr/share/texmf-site" RDEPEND="|| ( dev-texlive/texlive-fontsrecommended app-text/tetex app-text/ptex )" DEPEND="${RDEPEND} app-arch/unzip" DOCS="README" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-logging.patch" }