I have the following code snippet in my .make file.

libraries[iCalcreator][download][type] = "get"
libraries[iCalcreator][download][url] = "http://www.kigkonsult.se/downloads/dl.php?f=iCalcreator-2.10.23"
libraries[iCalcreator][directory_name] = ""
libraries[iCalcreator][destination] = "libraries"

I need to use the module together with parser_ical which demands to have the file in the folder iCalcreator, and I have seen a lot of similar projects having specific demands for the location - and a lot of external libraries being packaged the same way as iCalcreator.

Therefore it would be great if drush make could change the name of the folder the zipped file is extracted to!

Comments

Darko’s picture

I am not sure if I understand your question completely.

When you use the following code

libraries[iCalcreator][download][type] = get
libraries[iCalcreator][download][url] = http://www.kigkonsult.se/downloads/dl.php?f=iCalcreator-2.10.23
libraries[iCalcreator][directory_name] = iCalcreator

your project will be extracted into sites/all/libraries/iCalcreator.
Isn't that the desired outcome?

lsolesen’s picture

That will make all the content go into iCalcreator which makes the file paths wrong fro the projects that are relying on the external library. When I extract the iCalcreator just to libraries with the code from the original issue, it goes into the folder iCalcreator-2.10-23. I want it to go into iCalcreator.

helmo’s picture

Status: Active » Closed (won't fix)

Closing this issue as I doubt anyone will ever commit again to the obsolete drush_make project. See checkout a recent drush version, see also: #1310130: Put drush make in drush core