? drush_make_libraries_v1.patch
Index: drush_make.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush_make/drush_make.drush.inc,v
retrieving revision 1.4.2.9
diff -u -p -r1.4.2.9 drush_make.drush.inc
--- drush_make.drush.inc	20 Sep 2009 05:24:43 -0000	1.4.2.9
+++ drush_make.drush.inc	21 Sep 2009 18:52:11 -0000
@@ -113,6 +113,19 @@ function drush_make($makefile = NULL, $b
     $project->make();
   }
 
+  // Retrieve library information
+  if (!empty($info['libraries'])) {
+    foreach ($info['libraries'] as $name => $library_info) {
+      $library_info += array(
+        'name'      => $name,
+        'base_path' => $base_path,
+        'type'      => 'library',
+      );
+      $library = DrushMakeProject::factory($library_info);
+      $library->make();
+    }
+  }
+
   // Copy settings.php.
   if (drush_get_option('copy-settings')) {
     drush_shell_exec("cp {$base_path}/sites/default/default.settings.php {$base_path}/sites/default/settings.php");
Index: drush_make.project.library.inc
===================================================================
RCS file: drush_make.project.library.inc
diff -N drush_make.project.library.inc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ drush_make.project.library.inc	21 Sep 2009 18:52:11 -0000
@@ -0,0 +1,8 @@
+<?php
+
+class DrushMakeProject_Library extends DrushMakeProject {
+  var $project_path = 'sites/all/libraries';
+  public function __construct(&$project) {
+    parent::__construct($project);
+  }
+}
