This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport: user-supplied download action?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]