33 lines
1.4 KiB
Ruby
33 lines
1.4 KiB
Ruby
class TokyoCabinet < Formula
|
|
desc "Lightweight database library"
|
|
homepage "https://fallabs.com/tokyocabinet/"
|
|
url "https://fallabs.com/tokyocabinet/tokyocabinet-1.4.48.tar.gz"
|
|
mirror "https://deb.debian.org/debian/pool/main/t/tokyocabinet/tokyocabinet_1.4.48.orig.tar.gz"
|
|
sha256 "a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90"
|
|
license "LGPL-2.1"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(/href=.*?tokyocabinet[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
rebuild 1
|
|
sha256 arm64_big_sur: "1c4886501c3137bf93f3afcb374fd4b218a37e2aa36fb1065e43753ebbb162a9"
|
|
sha256 big_sur: "d9f3ac52eec8c99b8b9474d5e7eb53fb9cdb012bd377ffbed78db87b0e465c47"
|
|
sha256 catalina: "23694919d46c474b8c12d69d2e980d08f96f6bface62a74be7b8554de532e871"
|
|
sha256 mojave: "dd723c7394954fe354044bbd6bbea955e985c4652f0d2e7e9a7696da87d7a3aa"
|
|
sha256 high_sierra: "6470326d4c4d4d9a459407ec73a6ea6a2d6d2d459fb547467584dcf4e777aea8"
|
|
sha256 sierra: "9ace00b3ee94dbd63c427910c5aff77935f04bb884047061c792d6e90836a380"
|
|
sha256 el_capitan: "a209fa62fdb84a86784de5eb9699a9a6811c962afab2ebf418b2a712f51852d8"
|
|
sha256 yosemite: "3267823914e250aff7c8d3a5a686a010f0fc96242a417dbf47bb1502aa020ad6"
|
|
sha256 mavericks: "8d8e93ed60945cfb729395882e69d3924d899c8f792eab73a6094aa78b47c75c"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|