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] |
On Dec 10 14:34, Christian Kellermann wrote: > * Corinna Vinschen <corinna-cygwin@cygwin.com> [141210 13:31]: > > > The CHICKEN build system uses make only and builds in the source > > > directory. The platform has to be passed on as shown above. > > > > Building in the source dir is usually not the right way to do it. You > > potentially end up with files in the source dir which are included in > > the patch file of the source archive. That's what cygport's "lndirs" > > command is for; symlinking the sources into the build dir for build > > systems not supporting building outside the source dir (which usually is > > simple when using autoconf). > > Is this the right approach then? > > rc_compile() { > lndirs > cd ${B} > cygmake > } > > src_install() { > cd ${B} > cygmake install > } Yes, that's it. > I have to say while the documentation is detailed I mostly have a > look at the provided examples and try to read up on the individual > function. Is there an overview document somewhere that explains how > this is supposed to fit together? Uh, I'm not sure. I only look into the given cygport files myself, or look into /usr/share/doc/cygport/manual.html if I'm searching for something special. A collection of concise examples might be nice. :} Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgp_WI7PrTVYz.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |