blob: 834d4651fbd128d0e784529a9a064879e35beef9 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/latex-calendar/latex-calendar-3.1.ebuild,v 1.3 2002/12/09 04:17:44 manson Exp $
inherit latex-package
MY_P="calendar"
S=${WORKDIR}/${MY_P}
DESCRIPTION="LaTeX package used to create Calendars. Very flexible and robust."
SRC_URI="http://www.ibiblio.org/gentoo/distfiles/${P}.tar.gz"
HOMEPAGE="ftp://ibiblio.org/pub/packages/TeX/macros/latex/contrib/supported/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
src_compile() {
debug-print function $FUNCNAME $*
cd ${S}
echo "Extracting from allcal.ins"
echo "y
y" | latex allcal.ins > /dev/null
}
src_install() {
cd ${S}
texi2dvi -q -c --language=latex calguide.tex &> /dev/null
latex-package_src_doinstall styles fonts bin dvi
dodoc README MANIFEST CATALOG
insinto /usr/share/doc/${P}/samples
doins bigdemo.tgz *.cfg *.tex *.cld
}
|