/[gentoo-x86]/dev-tex/culmus-latex/culmus-latex-0.7.ebuild
Gentoo

Contents of /dev-tex/culmus-latex/culmus-latex-0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations) (download)
Wed Dec 29 09:10:33 2010 UTC (3 years, 10 months ago) by pva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +4 -3 lines
Update dependency for culmus font, bug #349472, thank David Abbott for tests.

(Portage version: 2.1.9.26/cvs/Linux x86_64)

1 pva 1.15 # Copyright 1999-2010 Gentoo Foundation
2 aballier 1.1 # Distributed under the terms of the GNU General Public License v2
3 pva 1.15 # $Header: /var/cvsroot/gentoo-x86/dev-tex/culmus-latex/culmus-latex-0.7.ebuild,v 1.14 2009/09/06 20:46:07 ranger Exp $
4 aballier 1.1
5 pva 1.15 EAPI="2"
6 aballier 1.1 inherit latex-package
7    
8     DESCRIPTION="Culmus fonts support for latex"
9     HOMEPAGE="http://ivritex.sourceforge.net/"
10     SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14 ranger 1.14 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
15 aballier 1.1 IUSE="examples"
16    
17 aballier 1.2 RDEPEND="virtual/latex-base"
18     DEPEND="${RDEPEND}
19 pva 1.15 || ( >=media-fonts/culmus-0.110[fancy] <media-fonts/culmus-0.110 )
20 aballier 1.2 app-text/t1utils"
21 aballier 1.1
22     src_compile() {
23     emake CULMUSDIR=/usr/share/fonts/culmus/ || die "failed to build fonts"
24     echo "Map culmus.map" > ${PN}.cfg
25     }
26    
27     src_install() {
28     emake CULMUSDIR=/usr/share/fonts/culmus/ DESTDIR="${D}" TEXMFROOT=/usr/share/texmf-site pkginstall || die "failed to install"
29     insinto /etc/texmf/updmap.d
30     doins ${PN}.cfg
31     dodoc README
32     if use examples ; then
33     insinto /usr/share/doc/${PF}/examples
34     doins examples/*
35     insinto /usr/share/doc/${PF}/examples/hiriq
36     doins examples/hiriq/*
37     fi
38     }

  ViewVC Help
Powered by ViewVC 1.1.20