2010-07-16 10:58:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class DrushMake <Formula
|
2010-10-07 16:40:18 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.0-beta9.tar.gz'
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush_make'
|
2010-10-07 16:40:18 +00:00
|
|
|
md5 '971cde5da1fcf8ae63e42c074cbb5476'
|
2010-07-16 10:58:51 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Drush <Formula
|
2010-08-11 21:59:01 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush-6.x-3.3.tar.gz'
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush'
|
2010-08-11 21:59:01 +00:00
|
|
|
version '3.3' # 3.3 is detected, but lets be explicit here
|
|
|
|
md5 'ed7ee13415548c643358a8a870534a5e'
|
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
|