summaryrefslogtreecommitdiff
path: root/homebrew/extracturl/.beer
blob: a0c0487bc70de8e0b0f4b806871c321f2ceaae1d (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
{
    "name": "ExtractUrl",
    "description": "Perl script to extracts URLs from emails or plain text",
    "url": "https://github.com/m3m0ryh0l3/extracturl/archive/v1.6.2.tar.gz",
    "mirror": null,
    "homepage": "https://www.memoryhole.net/~kyle/extract_url/",
    "depends": [],
    "resource": [
        {
            "name": "MIME::Parser",
            "url": "https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.508.tar.gz"
        },
        {
            "name": "HTML::Parser",
            "url": "https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.72.tar.gz"
        },
        {
            "name": "Pod::Usage",
            "url": "https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Usage-1.69.tar.gz"
        },
        {
            "name": "Env",
            "url": "https://cpan.metacpan.org/authors/id/F/FL/FLORA/Env-1.04.tar.gz"
        },
        {
            "name": "Getopt::Long",
            "url": "https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-2.49.1.tar.gz"
        },
        {
            "name": "URI::Find",
            "url": "https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/URI-Find-20160806.tar.gz"
        },
        {
            "name": "Curses",
            "url": "https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/Curses-1.36.tar.gz"
        },
        {
            "name": "Curses::UI",
            "url": "https://cpan.metacpan.org/authors/id/M/MD/MDXI/Curses-UI-0.9609.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"",
        "ENV.prepend_path \"PERL5LIB\", libexec/\"lib\"",
        "inreplace \"extract_url.pl\", \"#!/usr/bin/env perl\", \"#!/usr/bin/perl\"",
        "%w[MIME::Parser HTML::Parser Pod::Usage Env Getopt::Long Curses Curses::UI].each do |r|",
        "resource(r).stage do",
        "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
        "system \"make\"",
        "system \"make\", \"install\""
    ],
    "version": "1.6.2",
    "file": "extract_url.rb"
}