summaryrefslogtreecommitdiff
path: root/homebrew
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-02-20 15:49:36 +0100
committerGravatar Mike Burns <mike@mike-burns.com>2014-02-26 17:49:05 +0100
commit64c8e0c87e02e3a05631d67c9d3072ca87234711 (patch)
treebd403d4a6513a96e68adbbabbdd92df6fc1b6ea2 /homebrew
parent0edd365a507d716690ba7e7638681a7f9a61f8b9 (diff)
Start bringing in the Makefile.am from gitsh
It introduces the `Makefile.am` from gitsh, and abstracts it a bit. This `Makefile.am`, or most of it, could be dropped into gitsh again. How to use it is documented in `DEVELOPERS.md`. The whole release process is more consistent and simple: `make release` to build a tarball, Homebrew, Arch, Debian, HTML (from manpages), and tag it, pushed to the various repos, and with cleanup. The `release` target is composed of smaller targets that stack well.
Diffstat (limited to 'homebrew')
-rw-r--r--homebrew/rcm.rb.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/homebrew/rcm.rb.in b/homebrew/rcm.rb.in
new file mode 100644
index 0000000..3b858eb
--- /dev/null
+++ b/homebrew/rcm.rb.in
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Rcm < Formula
+ homepage 'http://thoughtbot.github.io/rcm'
+ url 'http://thoughtbot.github.io/@PACKAGE@/dist/@DIST_ARCHIVES@'
+ sha1 '@DIST_SHA@'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ test do
+ system "lsrc"
+ end
+end