Update build system
authorKen Brown <kbrown@cornell.edu>
Wed, 19 Sep 2012 18:15:25 +0000 (14:15 -0400)
committerKen Brown <kbrown@cornell.edu>
Wed, 19 Sep 2012 18:15:25 +0000 (14:15 -0400)
Use foo.cygport style to avoid needless copying/renaming.  Prepare it
for automatic setup.hint generation.  Get rid of *.cygwin.patch.

emacs-auctex-11.86-1.cygport [deleted file]
emacs-auctex-11.86-1.cygwin.patch [deleted file]
emacs-auctex.cygport [new file with mode: 0644]

diff --git a/emacs-auctex-11.86-1.cygport b/emacs-auctex-11.86-1.cygport
deleted file mode 100644 (file)
index 18ab9f9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-HOMEPAGE="http://www.gnu.org/software/auctex/"
-SRC_URI="mirror://gnu/auctex/${P#emacs-}.tar.gz"
-SRC_DIR=${P#emacs-}
-
-MAKEOPTS+=" -j1 "
-
-src_compile() {
-       lndirs
-       cd ${B}
-       cygconf --localstatedir=/var/lib
-       cygmake
-}
-
-src_install() {
-       cd ${B}
-       cyginstall
-       # It's probably OK to let cygport byte-compile auctex.el; but
-       # there's no need, and I'd rather not take a chance.
-       cat >> ${D}/usr/share/emacs/site-lisp/auctex.el <<-_EOF
-               ;; Local Variables:
-               ;; no-byte-compile: t
-               ;; End:
-       _EOF
-}
diff --git a/emacs-auctex-11.86-1.cygwin.patch b/emacs-auctex-11.86-1.cygwin.patch
deleted file mode 100644 (file)
index 71dce14..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
---- origsrc/auctex-11.86/CYGWIN-PATCHES/setup.hint     1969-12-31 19:00:00.000000000 -0500
-+++ src/auctex-11.86/CYGWIN-PATCHES/setup.hint 2012-03-13 12:59:40.344979900 -0400
-@@ -0,0 +1,10 @@
-+category: Editors
-+requires: emacs texinfo texlive texlive-collection-basic texlive-collection-latex texlive-collection-latexrecommended texlive-collection-texinfo
-+sdesc: "TeX macros for Emacs"
-+ldesc: "AUCTeX is an extensible package for writing and formatting TeX
-+files in GNU Emacs and XEmacs.  It supports many different TeX macro
-+packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and DocTeX (dtx
-+files).  AUCTeX includes preview-latex which makes LaTeX a tightly
-+integrated component of your editing workflow by visualizing selected
-+source chunks (such as single formulas or graphics) directly as images
-+in the source buffer."
diff --git a/emacs-auctex.cygport b/emacs-auctex.cygport
new file mode 100644 (file)
index 0000000..eb99d34
--- /dev/null
@@ -0,0 +1,43 @@
+NAME="emacs-auctex"
+VERSION=11.86
+RELEASE=3
+
+HOMEPAGE="http://www.gnu.org/software/auctex/"
+SRC_URI="mirror://gnu/auctex/${P#emacs-}.tar.gz"
+SRC_DIR=${P#emacs-}
+# PATCH_URI="biblatex-biber.patch"
+
+MAKEOPTS+=" -j1 "
+
+CATEGORY="Editors"
+
+REQUIRES="emacs texinfo texlive texlive-collection-basic texlive-collection-latex texlive-collection-latexrecommended texlive-collection-texinfo"
+
+SUMMARY="TeX macros for Emacs"
+
+DESCRIPTION="AUCTeX is an extensible package for writing and formatting TeX
+files in GNU Emacs and XEmacs.  It supports many different TeX macro
+packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and DocTeX (dtx
+files).  AUCTeX includes preview-latex which makes LaTeX a tightly
+integrated component of your editing workflow by visualizing selected
+source chunks (such as single formulas or graphics) directly as images
+in the source buffer."
+
+src_compile() {
+       lndirs
+       cd ${B}
+       cygconf --localstatedir=/var/lib
+       cygmake
+}
+
+src_install() {
+       cd ${B}
+       cyginstall
+       # It's probably OK to let cygport byte-compile auctex.el; but
+       # there's no need, and I'd rather not take a chance.
+       cat >> ${D}/usr/share/emacs/site-lisp/auctex.el <<-_EOF
+               ;; Local Variables:
+               ;; no-byte-compile: t
+               ;; End:
+       _EOF
+}
This page took 0.022476 seconds and 5 git commands to generate.