/[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.1 - (hide annotations) (download)
Sun Oct 26 15:46:28 2008 UTC (8 years, 6 months ago) by aballier
Branch: MAIN
Initial import for bug #168331
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.3 x86_64)

1 aballier 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     inherit latex-package
6    
7     DESCRIPTION="Culmus fonts support for latex"
8     HOMEPAGE="http://ivritex.sourceforge.net/"
9     SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~amd64"
14     IUSE="examples"
15    
16     RDEPEND="media-fonts/culmus
17     virtual/latex-base"
18     DEPEND="${RDEPEND}"
19    
20     src_compile() {
21     emake CULMUSDIR=/usr/share/fonts/culmus/ || die "failed to build fonts"
22     echo "Map culmus.map" > ${PN}.cfg
23     }
24    
25     src_install() {
26     emake CULMUSDIR=/usr/share/fonts/culmus/ DESTDIR="${D}" TEXMFROOT=/usr/share/texmf-site pkginstall || die "failed to install"
27     insinto /etc/texmf/updmap.d
28     doins ${PN}.cfg
29     dodoc README
30     if use examples ; then
31     insinto /usr/share/doc/${PF}/examples
32     doins examples/*
33     insinto /usr/share/doc/${PF}/examples/hiriq
34     doins examples/hiriq/*
35     fi
36     }

  ViewVC Help
Powered by ViewVC 1.1.20