2010-07-16 10:58:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class DrushMake < Formula
|
2011-03-14 18:39:20 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.2.tar.gz'
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush_make'
|
2011-03-14 18:39:20 +00:00
|
|
|
md5 '9dddd6567c4de66494bdadebfc3e2989'
|
2010-07-16 10:58:51 +00:00
|
|
|
end
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Drush < Formula
|
2011-03-15 02:28:09 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz'
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush'
|
2011-03-15 02:28:09 +00:00
|
|
|
md5 'b8f89ee75a8d45a4765679524ebdf8b4'
|
2010-07-16 10:58:51 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install Dir['*'] # No lib folder, so this is OK for now.
|
|
|
|
bin.mkpath
|
|
|
|
symlink prefix+'drush', bin+'drush'
|
|
|
|
DrushMake.new.brew { (prefix+'commands/drush_make').install Dir['*'] }
|
|
|
|
end
|
|
|
|
end
|