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