Gentoo Archives: gentoo-commits

From: "TomAs Touceda (chiiph)" <chiiph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/slatex: ChangeLog slatex-20090928.ebuild
Date: Thu, 01 Jul 2010 16:44:45
Message-Id: 20100701164441.B62E22C621@corvid.gentoo.org
1 chiiph 10/07/01 16:44:41
2
3 Modified: ChangeLog
4 Added: slatex-20090928.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.4 dev-tex/slatex/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/slatex/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/slatex/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/slatex/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 17 Apr 2010 17:52:07 -0000 1.3
23 +++ ChangeLog 1 Jul 2010 16:44:41 -0000 1.4
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-tex/slatex
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v 1.3 2010/04/17 17:52:07 pchrist Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v 1.4 2010/07/01 16:44:41 chiiph Exp $
29 +
30 +*slatex-20090928 (01 Jul 2010)
31 +
32 + 01 Jul 2010; Tomas Touceda <chiiph@g.o> +slatex-20090928.ebuild:
33 + Version bump
34
35 17 Apr 2010; Panagiotis Christopoulos <pchrist@g.o>
36 slatex-20050609.ebuild:
37
38
39
40 1.1 dev-tex/slatex/slatex-20090928.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/slatex/slatex-20090928.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/slatex/slatex-20090928.ebuild?rev=1.1&content-type=text/plain
44
45 Index: slatex-20090928.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/slatex-20090928.ebuild,v 1.1 2010/07/01 16:44:41 chiiph Exp $
50
51 EAPI="3"
52
53 # for updating the texmf database, id est latex-package_rehash
54 inherit latex-package
55
56 DESCRIPTION="SLaTeX is a Scheme program that allows you to write Scheme code in your (La)TeX source."
57 HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html"
58 SRC_URI="http://evalwhen.com/slatex/slatex.tar.bz2 -> ${P}.tar.bz2"
59
60 LICENSE="as-is"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 CDEPEND="dev-scheme/guile"
66 DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme"
67 RDEPEND="${CDEPEND}"
68
69 S="${WORKDIR}/${PN}"
70
71 TARGET_DIR="/usr/share/${PN}"
72
73 src_prepare() {
74 sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \
75 -i scmxlate-slatex-src.scm || die "sed failed"
76 }
77
78 src_compile() {
79 local command="(load \"/usr/share/scmxlate/scmxlate.scm\")"
80 guile -c "${command}" <<< "guile" || die
81 }
82
83 src_install() {
84 insinto "${TARGET_DIR}"
85 doins ${PN}.scm || die "doins failed"
86 insinto /usr/share/texmf/tex/latex/slatex/
87 doins ${PN}.sty || die "doins failed"
88 dobin ${PN} || die "dobin failed"
89 }