From 6d361082bf6a4ccfc4ce4ddc91472393e97045d2 Mon Sep 17 00:00:00 2001 From: Ian MacLeod Date: Mon, 17 Sep 2012 10:20:11 -0700 Subject: [PATCH 1/2] pngpaste formula https://github.com/jcsalterego/pngpaste --- Library/Formula/pngpaste.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Formula/pngpaste.rb diff --git a/Library/Formula/pngpaste.rb b/Library/Formula/pngpaste.rb new file mode 100644 index 000000000000..3746a0fa6fca --- /dev/null +++ b/Library/Formula/pngpaste.rb @@ -0,0 +1,14 @@ +require 'formula' + +class Pngpaste < Formula + homepage 'https://github.com/jcsalterego/pngpaste/' + url 'https://github.com/jcsalterego/pngpaste/tarball/master' + sha1 'd498e964cce02c6f3e7389a14139078f2819d6b9' + version '1.0.0' + + def install + system 'make', 'all' + + bin.install 'pngpaste' + end +end From 2af1b499d02e983efa4f1eb1cb6c7f82e6737be3 Mon Sep 17 00:00:00 2001 From: Ian MacLeod Date: Mon, 17 Sep 2012 10:38:00 -0700 Subject: [PATCH 2/2] Pin the commit revision --- Library/Formula/pngpaste.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Formula/pngpaste.rb b/Library/Formula/pngpaste.rb index 3746a0fa6fca..10f58ac1550c 100644 --- a/Library/Formula/pngpaste.rb +++ b/Library/Formula/pngpaste.rb @@ -1,14 +1,14 @@ require 'formula' class Pngpaste < Formula - homepage 'https://github.com/jcsalterego/pngpaste/' - url 'https://github.com/jcsalterego/pngpaste/tarball/master' + homepage 'https://github.com/jcsalterego/pngpaste' + url 'https://github.com/jcsalterego/pngpaste/tarball/f6e8a5931202573b85ff1ca6d0b5816b0d7f586f' sha1 'd498e964cce02c6f3e7389a14139078f2819d6b9' version '1.0.0' def install system 'make', 'all' - + bin.install 'pngpaste' end end