On 2013/08/19 09:30, Mike Erdely wrote:
> Below is a diff for FreeRDP to 1.0.2.
> Unfortunately, it seems like I have to do some dancing around the
> way they're hosting the distfiles at github. Using the URL from the
> website, I get a file named 1.0.2.tgz. Which, of course, extracts to
> FreeRDP-1.0.2 for package called freerdp-1.0.2.
DISTFILES has a newer syntax that lets you rename things.
After stripping that extension if necessary, if the entry
parses as `filename{url}' it will be fetched as url
instead, yet still stored as filename.
("url" here is a misnomer; this is the filename part of the url only).
So something like this (untested) should work:
V= 1.0.2
DISTNAME= freerdp-$V
DISTFILES= freerdp-$V.tar.gz{$V.tar.gz}