Created
October 3, 2022 13:29
-
-
Save justdamilare/23dbec77ac07e8075c084f6c4c4b3dcf to your computer and use it in GitHub Desktop.
A sample Homebrew Formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Wget < Formula | |
homepage "https://www.gnu.org/software/wget/" | |
url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz" | |
sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd" | |
def install | |
system "./configure", "--prefix=#{prefix}" | |
system "make", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment