Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae2b15e

Browse files
bb010gBrewTestBot
authored andcommitted
xidel 0.9.8 (new formula)
ClosesHomebrew#93915.Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
1 parentfde7d75 commitae2b15e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

‎Formula/xidel.rb‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
classXidel <Formula
2+
desc"XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON"
3+
homepage"https://www.videlibri.de/xidel.html"
4+
url"https://github.com/benibela/xidel/releases/download/Xidel_0.9.8/xidel-0.9.8.src.tar.gz"
5+
sha256"72b5b1a2fc44a0a61831e268c45bc6a6c28e3533b5445151bfbdeaf1562af39c"
6+
license"GPL-3.0-or-later"
7+
8+
livecheckdo
9+
url:stable
10+
regex(/^(?:Xidel[-_])?v?(\d+(?:\.\d+)+)$/i)
11+
end
12+
13+
headdo
14+
url"https://github.com/benibela/xidel.git",branch:"master"
15+
resource("flre"){url"https://github.com/benibela/flre.git",branch:"master"}
16+
resource("internettools"){url"https://github.com/benibela/internettools.git",branch:"master"}
17+
resource("pasdblstrutils"){url"https://github.com/BeRo1985/pasdblstrutils.git",branch:"master"}
18+
resource("rcmdline"){url"https://github.com/benibela/rcmdline.git",branch:"master"}
19+
resource("synapse"){url"http://svn.code.sf.net/p/synalist/code/synapse/40"}
20+
end
21+
22+
depends_on"fpc"=>:build
23+
depends_on"openssl@1.1"
24+
25+
definstall
26+
resources.eachdo |r|
27+
r.stagebuildpath/"import"/r.name
28+
end
29+
30+
cd"programs/internet/xidel"unlessbuild.head?
31+
inreplace"build.sh","$fpc ","$fpc -k-rpath -k#{sh_quoteFormula["openssl@1.1"].opt_lib} "
32+
system"./build.sh"
33+
bin.install"xidel"
34+
man1.install"meta/xidel.1"
35+
end
36+
37+
testdo
38+
assert_equal"123\n",shell_output("#{bin}/xidel -e 123")
39+
end
40+
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp