Skip to content

Commit 2b92c30

Browse files
committed
Add tdb formula
This is a dependency of Rhythmbox and is still waiting on upstream packaging due to a missing test. See Homebrew/homebrew-core#45054
1 parent 27c64d8 commit 2b92c30

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Formula/tdb.rb

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Based on https://github.com/Homebrew/homebrew-core/pull/45054 by @minusf
2+
3+
class Tdb < Formula
4+
desc "Trivial database library"
5+
homepage "https://tdb.samba.org"
6+
url "https://www.samba.org/ftp/tdb/tdb-1.4.9.tar.gz"
7+
sha256 "0ac226073e3a2db8648da7af744cb95f50766a52feeb001d558b2b321b74a765"
8+
9+
depends_on "docbook" => :build
10+
depends_on "docbook-xsl" => :build
11+
depends_on "python" => :build
12+
13+
def install
14+
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
15+
16+
system "./configure", "--prefix=#{prefix}", "--disable-rpath"
17+
system "make", "test"
18+
system "make", "install"
19+
end
20+
end

0 commit comments

Comments
 (0)