Updated drush formula to drush 4.3 and drush make 2.2.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Mark Sonnabaum 2011-03-14 13:39:20 -05:00 committed by Adam Vandenberg
parent 0bfddb91c1
commit 109eca18a3

View file

@ -1,15 +1,15 @@
require 'formula'
class DrushMake < Formula
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.0-beta10.tar.gz'
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.2.tar.gz'
homepage 'http://drupal.org/project/drush_make'
md5 '3be3c6473198652900f7695e09a1806c'
md5 '9dddd6567c4de66494bdadebfc3e2989'
end
class Drush < Formula
url 'http://ftp.drupal.org/files/projects/drush-All-versions-4.2.tar.gz'
url 'http://ftp.drupal.org/files/projects/drush-7.x-4.3.tar.gz'
homepage 'http://drupal.org/project/drush'
md5 '0e9f6f42c600f7fd0b7a38ce0f6f2f59'
md5 '630005bef9521e3469991a79d2db423b'
def install
prefix.install Dir['*'] # No lib folder, so this is OK for now.
@ -17,10 +17,4 @@ class Drush < Formula
symlink prefix+'drush', bin+'drush'
DrushMake.new.brew { (prefix+'commands/drush_make').install Dir['*'] }
end
def patches
# explanation and source: http://drupal.org/node/1078318
# remove this for any version above 4.2
"http://drupal.org/files/issues/drush-1078318.patch"
end
end