This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
cygport: user-supplied download action?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 6 May 2012 13:35:13 +0200
- Subject: cygport: user-supplied download action?
- Reply-to: cygwin-apps at cygwin dot com
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