homebrew-core/Formula/rpg.rb

29 lines
858 B
Ruby

class Rpg < Formula
desc "Ruby package management for UNIX"
homepage "https://github.com/rtomayko/rpg"
url "https://github.com/downloads/rtomayko/rpg/rpg-0.3.0.tar.gz"
sha256 "c350f64744fb602956a91a57c8920e69058ea42e4e36b0e74368e96954d9d0c7"
license "MIT"
head "https://github.com/rtomayko/rpg.git"
bottle do
cellar :any_skip_relocation
rebuild 1
sha256 "d1d4031e3e641523f759f3c2dc69fed0cffdfa537639c1f9686ddc7763b93df9" => :catalina
sha256 "fab3d032e629a4d20add14e9693919a074286990a16eb6fa8772180fc60730ee" => :mojave
sha256 "f1c7e5d997a1f0ceb1cca6b1067408912ff8e14522fb411530649f0689f9d042" => :high_sierra
end
deprecate! because: :repo_archived
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
system "#{bin}/rpg", "config"
end
end