homebrew-core/Formula/drush.rb
Victor Castell cb306d7b44 Update drush to 4.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-01-11 12:36:08 -08:00

21 lines
639 B
Ruby

require 'formula'
class DrushMake <Formula
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.0-beta10.tar.gz'
homepage 'http://drupal.org/project/drush_make'
md5 '3be3c6473198652900f7695e09a1806c'
end
class Drush <Formula
url 'http://ftp.drupal.org/files/projects/drush-All-versions-4.1.tar.gz'
homepage 'http://drupal.org/project/drush'
version '4.1'
md5 '880997e341af70ee84a99cdc98b35eb9'
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