Created
September 15, 2018 04:31
-
-
Save mactkg/87fa91bdb8f64b04419e44a26f741e41 to your computer and use it in GitHub Desktop.
Crew rcm package
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
require 'package' | |
class Rcm < Package | |
description 'management suite for dotfiles' | |
homepage 'https://github.com/thoughtbot/rcm' | |
version '1.3.3' | |
source_url 'https://thoughtbot.github.io/rcm/dist/rcm-1.3.3.tar.gz' | |
source_sha256 '935524456f2291afa36ef815e68f1ab4a37a4ed6f0f144b7de7fb270733e13af' | |
def self.build | |
system "./configure", "--prefix=#{CREW_PREFIX}", "--disable-debug" | |
system "make" | |
end | |
def self.install | |
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment