summaryrefslogtreecommitdiff
path: root/homebrew/cgit/.beer
blob: 8935bcf5ae8eda67eb88f2b6bd105e252a7cc059 (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
{
    "name": "Cgit",
    "description": "Hyperfast web frontend for Git repositories written in C",
    "url": "https://git.zx2c4.com/cgit/snapshot/cgit-1.2.1.tar.xz",
    "mirror": null,
    "homepage": "https://git.zx2c4.com/cgit/",
    "depends": [
        {
            "depend": "gettext",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "git",
            "url": "https://www.kernel.org/pub/software/scm/git/git-2.18.0.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "resource(\"git\").stage(buildpath/\"git\")",
        "system \"make\", \"prefix=#{prefix}\",",
        "\"CGIT_SCRIPT_PATH=#{pkgshare}\",",
        "\"CGIT_DATA_PATH=#{var}/www/htdocs/cgit\",",
        "\"CGIT_CONFIG=#{etc}/cgitrc\",",
        "\"CACHE_ROOT=#{var}/cache/cgit\",",
        "\"install\""
    ],
    "version": "1.2.1",
    "file": "cgit.rb"
}