homebrew-core/Formula/drush.rb
flow f37f20113d update drush to drush-6.x-4.0-rc7
Closes Homebrew/homebrew#3803.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-03 16:11:51 +00:00

21 lines
638 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-6.x-4.0-rc7.tar.gz'
homepage 'http://drupal.org/project/drush'
version '4.0-rc7'
md5 '327e09a3fd9eef6c918ea1eac2ceb312'
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