summaryrefslogtreecommitdiff
path: root/homebrew/recode/.beer
blob: 585df1efbab2a6b67c25e4517064f453962f0c42 (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
{
    "name": "Recode",
    "description": "Convert character set (charsets)",
    "url": "https://github.com/pinard/Recode/archive/v3.7-beta2.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/pinard/Recode",
    "depends": [
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "gettext",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.append \"LDFLAGS\", \"-liconv\"",
        "ENV.append \"LDFLAGS\", \"-lintl\"",
        "inreplace \"src/recodext.h\", \"bool ignore : 2;\", \"bool ignore : 1;\"",
        "cp Dir[\"#{Formula[\"libtool\"].opt_pkgshare}/*/config.{guess,sub}\"], buildpath",
        "system \"./configure\", \"--disable-debug\",",
        "\"--disable-dependency-tracking\",",
        "\"--without-included-gettext\",",
        "\"--prefix=#{prefix}\",",
        "\"--infodir=#{info}\",",
        "\"--mandir=#{man}\"",
        "system \"make\", \"install\""
    ],
    "version": "3.7",
    "file": "recode.rb"
}