2010-07-16 10:58:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class DrushMake < Formula
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush_make'
|
2012-02-13 06:23:26 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.3.tar.gz'
|
2011-08-14 22:01:00 +00:00
|
|
|
md5 'd6636db943d4f996474b09245060263c'
|
2010-07-16 10:58:51 +00:00
|
|
|
end
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Drush < Formula
|
2010-07-16 10:58:51 +00:00
|
|
|
homepage 'http://drupal.org/project/drush'
|
2012-02-13 06:23:26 +00:00
|
|
|
url 'http://ftp.drupal.org/files/projects/drush-7.x-4.5.tar.gz'
|
2011-08-12 04:52:29 +00:00
|
|
|
md5 'f6df0593c3d3c9a5a2d0bb382bf629ba'
|
2012-02-13 06:23:26 +00:00
|
|
|
head 'git://git.drupal.org/project/drush.git'
|
2010-07-16 10:58:51 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install Dir['*'] # No lib folder, so this is OK for now.
|
2012-02-13 06:23:26 +00:00
|
|
|
bin.install_symlink prefix+'drush'
|
2010-07-16 10:58:51 +00:00
|
|
|
DrushMake.new.brew { (prefix+'commands/drush_make').install Dir['*'] }
|
|
|
|
end
|
|
|
|
end
|