cygport: user-supplied download action?

Corinna Vinschen corinna-cygwin@cygwin.com
Sun May 6 11:35:00 GMT 2012


Hi Yaakov,


Some upstream packages are not available as tar archives, but can only
be fetched directly from their source code control repo.  How would you
fetch them via cygport?

I think it might be a nice addition to allow the maintainer to specify
how to download sources and create the src tar file from it.  For
instance:

  SRC_URI="function"

  src_download() {
    cvs -d $repo ex -r $version foo
    mv foo ${P}
    tar cJf ${P}.tar.xz ${P}
    rm -rf ${P}
  }

Does that make sense?  Or is that already possible and I just didn't
realize how to it?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list