Update for emacs-auctex-11.92
[git/cygwin-packages/emacs-auctex.git] / emacs-auctex.cygport
... / ...
CommitLineData
1ORIG_PN="auctex"
2
3NAME="emacs-auctex"
4VERSION=11.92
5RELEASE=1
6
7PKG_NAMES="${PN} preview-latex"
8
9HOMEPAGE="http://www.gnu.org/software/auctex/"
10SRC_URI="mirror://gnu/auctex/${ORIG_PN}-${VERSION}.tar.gz postinstall.sh"
11# GIT_URI="git://git.savannah.gnu.org/auctex.git"
12# inherit git
13
14MAKEOPTS+=" -j1 "
15
16CATEGORY="Editors"
17
18emacs_auctex_REQUIRES="emacs preview-latex"
19
20emacs_auctex_SUMMARY="TeX macros for Emacs"
21
22preview_latex_REQUIRES="texlive-collection-latex texlive-collection-latexrecommended"
23
24preview_latex_SUMMARY="Extract bits of a LaTeX source for output"
25
26emacs_auctex_DESCRIPTION="AUCTeX is an extensible package for writing and formatting TeX
27files in GNU Emacs and XEmacs. It supports many different TeX macro
28packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and DocTeX (dtx
29files). AUCTeX includes preview-latex, which makes LaTeX a tightly
30integrated component of your editing workflow by including selected
31source chunks (such as single formulas or graphics) directly as images
32in the source buffer."
33
34preview_latex_DESCRIPTION="This is a self-contained subpackage of emacs-auctex that allows
35appropriately selected parts of a LaTeX document to be formatted and
36displayed within the Emacs editor. It also has uses that do not
37require Emacs."
38
39emacs_auctex_CONTENTS="usr/share/doc usr/share/emacs usr/share/info/auctex* var/lib/auctex"
40
41preview_latex_CONTENTS="usr/share/info/preview-latex* usr/share/texmf-site etc/postinstall"
42
43DEPEND="emacs texlive-collection-latex"
44
45src_compile() {
46 # cd ${S}
47 # ./autogen.sh
48 lndirs
49 cd ${B}
50 SITELISP=/usr/share/emacs/site-lisp
51 cygconf --localstatedir=/var/lib \
52 --with-auctexstartfile=${SITELISP}/auctex.el \
53 --with-previewstartfile=${SITELISP}/preview-latex.el
54 cygmake
55}
56
57src_install() {
58 cd ${B}
59 cyginstall
60 # It's probably OK to let cygport byte-compile auctex.el; but
61 # there's no need, and I'd rather not take a chance.
62 cat >> ${D}/usr/share/emacs/site-lisp/auctex.el <<-_EOF
63 ;; Local Variables:
64 ;; no-byte-compile: t
65 ;; End:
66 _EOF
67 exeinto /etc/postinstall
68 newexe ${S}/postinstall.sh preview-latex.sh
69}
70
71ARCH=noarch
This page took 0.017128 seconds and 5 git commands to generate.