sdb 0.10.1
Closes Homebrew/homebrew#50440. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
448950dea2
commit
532979357e
1 changed files with 20 additions and 0 deletions
20
Formula/sdb.rb
Normal file
20
Formula/sdb.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
class Sdb < Formula
|
||||
desc "Ondisk/memory hashtable based on CDB."
|
||||
homepage "https://github.com/radare/sdb"
|
||||
url "http://www.radare.org/get/sdb-0.10.1.tar.gz"
|
||||
sha256 "dc17ce4bc6c2a5f2e63a404c3444d7ce4992c735e0ab04c93eb03ef8d965b3fa"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "vala" => :build
|
||||
depends_on "glib"
|
||||
|
||||
def install
|
||||
system "make"
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"sdb", testpath/"d", "hello=world"
|
||||
assert_equal "world", shell_output("#{bin}/sdb #{testpath}/d hello").strip
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue