summaryrefslogtreecommitdiff
blob: 179f375c40e7d59a51f4f165cdc7c64a1ee8e5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=2

inherit latex-package

S=${WORKDIR}/${PN}

DESCRIPTION="LaTeX style for a CV (curriculum vitae) with flavour option"
SRC_URI="ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/${PN}.zip -> ${P}.zip"
HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/curve/"
LICENSE="LPPL-1.2"
RDEPEND=">=dev-texlive/texlive-latexextra-2010"
DEPEND="${RDEPEND}
	app-arch/unzip"
IUSE="doc examples"

SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"

TEXMF=/usr/share/texmf-site

src_install() {

	latex-package_src_doinstall styles

	dodoc README NEWS THANKS

	if use doc ; then
		latex-package_src_doinstall pdf
	fi

	if use examples ; then
		insinto /usr/share/doc/${PF}/example
		doins examples/*
	fi
}