blob: ac58bfae7ac402be8c126dcc2247451c90c16c88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class DrushMake < Formula
url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.2.tar.gz'
homepage 'http://drupal.org/project/drush_make'
md5 '9dddd6567c4de66494bdadebfc3e2989'
end
class Drush < Formula
url 'http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz'
homepage 'http://drupal.org/project/drush'
md5 'b8f89ee75a8d45a4765679524ebdf8b4'
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
|