35 lines
1.4 KiB
Ruby
35 lines
1.4 KiB
Ruby
class LibsvgCairo < Formula
|
|
desc "SVG rendering library using Cairo"
|
|
homepage "https://cairographics.org/"
|
|
url "https://cairographics.org/snapshots/libsvg-cairo-0.1.6.tar.gz"
|
|
sha256 "a380be6a78ec2938100ce904363815a94068fca372c666b8cc82aa8711a0215c"
|
|
license "LGPL-2.1"
|
|
revision 2
|
|
|
|
livecheck do
|
|
url "https://cairographics.org/snapshots/"
|
|
regex(/href=.*?libsvg-cairo[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any, big_sur: "d2d48b901a9ac8ad056adab1f6483d6ad17afcfeac95362ca7b32d473de84d69"
|
|
sha256 cellar: :any, catalina: "91b325120c82295bea226193e0c0e0a26ffc7a4e6dc07c41bc474676c3aa302c"
|
|
sha256 cellar: :any, mojave: "573c68cc663ad978709b2f82072070e9d12be173665ef057d61c569bae428ad7"
|
|
sha256 cellar: :any, high_sierra: "85692fcfce287f166fefa4fcc4f78b58c96eee3c94ff403e6ef42403c005c29a"
|
|
sha256 cellar: :any, sierra: "63cfba79036bfd190a92e6a4c501e2e4c737bf63e6a8df6bdca56885c66ae740"
|
|
sha256 cellar: :any, el_capitan: "9f87cc3a6d7e702aab12b23ad1f720ae592bdfb9112753e27c9cf2203dc21915"
|
|
sha256 cellar: :any, yosemite: "55bd8f9bfede25e71e9731d72ace27ce7724a4cce030a4e4e6969554ee64238d"
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "cairo"
|
|
depends_on "libpng"
|
|
depends_on "libsvg"
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--disable-debug",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|