diff options
Diffstat (limited to 'homebrew/emacs')
-rw-r--r-- | homebrew/emacs/.beer | 59 | ||||
-rw-r--r-- | homebrew/emacs/.make.sh-auto | 10 | ||||
-rw-r--r-- | homebrew/emacs/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/emacs/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/emacs/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/emacs/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/emacs/download.sh | 1 |
7 files changed, 74 insertions, 0 deletions
diff --git a/homebrew/emacs/.beer b/homebrew/emacs/.beer new file mode 100644 index 000000000..b1a5d00a6 --- /dev/null +++ b/homebrew/emacs/.beer @@ -0,0 +1,59 @@ +{ + "name": "Emacs", + "description": "GNU Emacs text editor", + "url": "https://ftp.gnu.org/gnu/emacs/emacs-26.2.tar.xz", + "mirror": "https://ftpmirror.gnu.org/emacs/emacs-26.2.tar.xz", + "homepage": "https://www.gnu.org/software/emacs/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "gnu-sed", + "build-depend": true + }, + { + "depend": "texinfo", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "gnutls", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = %W[", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp", + "--infodir=#{info}/emacs", + "--prefix=#{prefix}", + "--with-gnutls", + "--without-x", + "--with-xml2", + "--without-dbus", + "--with-modules", + "--without-ns", + "--without-imagemagick", + "]", + "if build.head?", + "ENV.prepend_path \"PATH\", Formula[\"gnu-sed\"].opt_libexec/\"gnubin\"", + "system \"./autogen.sh\"", + "end", + "system \"./configure\", *args", + "system \"make\"", + "system \"make\", \"install\"", + "(bin/\"ctags\").unlink", + "(man1/\"ctags.1.gz\").unlink" + ], + "version": "26.2", + "file": "emacs.rb" +}
\ No newline at end of file diff --git a/homebrew/emacs/.make.sh-auto b/homebrew/emacs/.make.sh-auto new file mode 100644 index 000000000..77398025a --- /dev/null +++ b/homebrew/emacs/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +args = %W[--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp --infodir=#{info}/emacs --prefix=#{prefix} --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick ] +ENV.prepend_path "PATH", Formula["gnu-sed"].opt_libexec/"gnubin" +./autogen.sh +end +pkg:configure *args +make +make DESTDIR=${PKG_DEST} install +(bin/"ctags").unlink +(man1/"ctags.1.gz").unlink diff --git a/homebrew/emacs/_metadata/description b/homebrew/emacs/_metadata/description new file mode 100644 index 000000000..d2195b4f1 --- /dev/null +++ b/homebrew/emacs/_metadata/description @@ -0,0 +1 @@ +GNU Emacs text editor diff --git a/homebrew/emacs/_metadata/homepage b/homebrew/emacs/_metadata/homepage new file mode 100644 index 000000000..6afbe82de --- /dev/null +++ b/homebrew/emacs/_metadata/homepage @@ -0,0 +1 @@ +https://www.gnu.org/software/emacs/ diff --git a/homebrew/emacs/_metadata/name b/homebrew/emacs/_metadata/name new file mode 100644 index 000000000..2f2918b2b --- /dev/null +++ b/homebrew/emacs/_metadata/name @@ -0,0 +1 @@ +Emacs diff --git a/homebrew/emacs/_metadata/version b/homebrew/emacs/_metadata/version new file mode 100644 index 000000000..d38d43114 --- /dev/null +++ b/homebrew/emacs/_metadata/version @@ -0,0 +1 @@ +26.2 diff --git a/homebrew/emacs/download.sh b/homebrew/emacs/download.sh new file mode 100755 index 000000000..ea18c6dc6 --- /dev/null +++ b/homebrew/emacs/download.sh @@ -0,0 +1 @@ +wget https://ftp.gnu.org/gnu/emacs/emacs-26.2.tar.xz || wget https://ftpmirror.gnu.org/emacs/emacs-26.2.tar.xz
\ No newline at end of file |