27 lines
1.4 KiB
Ruby
27 lines
1.4 KiB
Ruby
class Libopennet < Formula
|
|
desc "Provides open_net() (similar to open())"
|
|
homepage "https://www.rkeene.org/oss/libopennet"
|
|
url "https://www.rkeene.org/files/oss/libopennet/libopennet-0.9.9.tar.gz"
|
|
sha256 "d1350abe17ac507ffb50d360c5bf8290e97c6843f569a1d740f9c1d369200096"
|
|
license "LGPL-2.1"
|
|
|
|
bottle do
|
|
sha256 cellar: :any, big_sur: "1c514ff48871809fd77cadcded9c2dc71f7913fde66c81fe3a9c6488b927d17f"
|
|
sha256 cellar: :any, catalina: "0f9b40e9c906fce8df8abc866680bf6fbe60cadc5af24dac309e1d51a0f5e99d"
|
|
sha256 cellar: :any, mojave: "4702cca034bb0b60b4555615664cc4aedee95c189f37e23e93013594f1dc9321"
|
|
sha256 cellar: :any, high_sierra: "82232ab7a71481570e3119e119bc93ef29a9d553c11e16fb93f157c66a7dfe8a"
|
|
sha256 cellar: :any, sierra: "c3447365aeb1a478b14b5a71b6ffd29a1f95754fb460ed6f618b55e2f958c227"
|
|
sha256 cellar: :any, el_capitan: "de1cb9622ec3b6501236af7e66367bc5bbaa20dfb8e3ae328a339bea6d708bab"
|
|
sha256 cellar: :any, yosemite: "abcf105b630a05b8a7d26f1a0ba8defafcf31c0dc23e79c3a5f8a9a14878e6de"
|
|
sha256 cellar: :any, mavericks: "cc3c5f62b47b334019035ab1f34f6f9e8b195f3ea37afa820d8b3dbbb4402eae"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
end
|