Skip to content

Commit c0d350a

Browse files
authored
Merge pull request #244681 from ankane/bedtk
bedtk 1.2 (new formula)
2 parents d4a0677 + 678ced8 commit c0d350a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Formula/b/bedtk.rb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
class Bedtk < Formula
2+
desc "Simple toolset for BED files"
3+
homepage "https://github.com/lh3/bedtk"
4+
url "https://github.com/lh3/bedtk/archive/refs/tags/v1.2.tar.gz"
5+
sha256 "c0e1f454337dbd531659662ccce6c35831e7eec75ddf7b7751390b869e6ce9f0"
6+
license "MIT"
7+
8+
bottle do
9+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "495953151b05090bee059581e5a872112a6621265f86c8be00d6a43fdec0d25a"
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7353b0431b57bfc23ffcdf490681771bab0f608a1c590ae24ca0e8f437613809"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "7a58dd66680c40dbd672a148a9640784c434f6d520bb88f6696c04cc31683a15"
12+
sha256 cellar: :any_skip_relocation, sonoma: "ebad975371a395fab0ef08706244c491def00e494e657b15463da7cbe288893f"
13+
sha256 cellar: :any_skip_relocation, x86_64_linux: "9dec9cdbe36442a536160a54b14e5d07eaa1a7f6e59dcd73d0cb154854211562"
14+
end
15+
16+
uses_from_macos "zlib"
17+
18+
def install
19+
system "make"
20+
bin.install "bedtk"
21+
pkgshare.install "test"
22+
end
23+
24+
test do
25+
cp_r pkgshare/"test/.", testpath
26+
system bin/"bedtk", "flt", "test-anno.bed.gz", "test-iso.bed.gz"
27+
end
28+
end

0 commit comments

Comments
 (0)