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
|
{
"name": "Ack",
"description": "Search tool like grep, but optimized for programmers",
"url": "https://beyondgrep.com/ack-2.28-single-file",
"mirror": null,
"homepage": "https://beyondgrep.com/",
"depends": [],
"resource": [
{
"name": "File::Next",
"url": "https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/File-Next-1.16.tar.gz"
}
],
"conflicts": [],
"patches": [],
"install": [
"if build.head?",
"ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"",
"ENV.prepend_path \"PERL5LIB\", libexec/\"lib\"",
"resource(\"File::Next\").stage do",
"system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
"system \"make\", \"install\"",
"end",
"system \"perl\", \"Makefile.PL\", \"DESTDIR=#{buildpath}\"",
"system \"make\"",
"libexec.install \"ack\"",
"chmod 0755, libexec/\"ack\"",
"(libexec/\"lib\").install \"blib/lib/App\"",
"(bin/\"ack\").write_env_script(\"#{libexec}/ack\", :PERL5LIB => ENV[\"PERL5LIB\"])",
"man1.install \"blib/man1/ack.1\"",
"else",
"bin.install \"ack-#{version.to_s.tr(\"-\", \"_\")}-single-file\" => \"ack\"",
"system \"pod2man\", \"#{bin}/ack\", \"ack.1\"",
"man1.install \"ack.1\""
],
"version": "2.28",
"file": "ack.rb"
}
|