summaryrefslogtreecommitdiff
path: root/homebrew/emacs/.beer
blob: b1a5d00a6d166181c4ccbb901463916375612ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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"
}