summaryrefslogtreecommitdiff
path: root/homebrew/cherokee/.beer
blob: 141fd728b7c1b88281aebdf80f65a781edff83a3 (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
{
    "name": "Cherokee",
    "description": "Modern, user friendly web server",
    "url": "https://src.fedoraproject.org/repo/pkgs/cherokee/cherokee-1.2.103.tar.gz/527b3de97ef9727bfd5f6832043cf916/cherokee-1.2.103.tar.gz",
    "mirror": null,
    "homepage": "http://cherokee-project.com/",
    "depends": [
        {
            "depend": "gettext",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/cherokee/webserver/commit/d0213768fdc6cf3aee61fe0be398d7825c01198f.diff?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "if build.head?",
        "ENV[\"LIBTOOL\"] = \"glibtool\"",
        "ENV[\"LIBTOOLIZE\"] = \"glibtoolize\"",
        "cmd = \"./autogen.sh\"",
        "else",
        "cmd = \"./configure\"",
        "end",
        "system cmd, \"--disable-dependency-tracking\",",
        "\"--prefix=#{prefix}\",",
        "\"--sysconfdir=#{etc}\",",
        "\"--localstatedir=#{var}/cherokee\",",
        "\"--with-wwwuser=#{ENV[\"USER\"]}\",",
        "\"--with-wwwgroup=www\",",
        "\"--enable-internal-pcre\",",
        "\"--with-wwwroot=#{etc}/cherokee/htdocs\",",
        "\"--with-cgiroot=#{etc}/cherokee/cgi-bin\"",
        "system \"make\", \"install\"",
        "prefix.install \"org.cherokee.webserver.plist\"",
        "(prefix+\"org.cherokee.webserver.plist\").chmod 0644",
        "(pkgshare/\"admin/server.py\").chmod 0755"
    ],
    "version": "1.2.103",
    "file": "cherokee.rb"
}