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]

Re: cygport: Adding arbitrary files to the src package

On Mon, 2012-05-07 at 17:06 +0200, Corinna Vinschen wrote: 
> > As always, if you could specify the actual package and .cygport you
> > are trying to build, I may be able to find other solutions.
> Attached.  See the FIXME comment.

Comments inlined.

> DESCRIPTION="The UNIX emulation engine"
> CVS_URI=""
> CVS_MODULE="winsup"
> CVS_BRANCH="cygwin-${PV//\./_}-release"
> inherit cvs

See other thread.

>   cygconf --localstatedir=/var

This argument is among the defaults, so a simple cygconf will do here.

Alternatively (and this is optional), you could ditch the src_compile()
by defining TOOLCHAIN_TARGET="i686-pc-cygwin" above and inherit()ing
toolchain as well.

>   # tooldir and gcc_tooldir must be set to install correctly even when
>   # building on a non-Cygwin build machine.
>   MAKEOPTS='-j1 tooldir=/usr gcc_tooldir=/usr' cyginstall

You can pass arguments to cygmake and cyginstall directly:

cyginstall -j1 tooldir=/usr gcc_tooldir=/usr

>   ###
>   ###
>   ### FIXME:
>   ###
>   ### Where to put the cygwin1.dbg file so that it ends up "as is" in 
>   ### the source tarball?
>   ###        
>   ###        
>   #
>   # cp ${B}/i686-pc-cygwin/winsup/cygwin/cygwin1.dbg ???

As a binary file, this wasn't going to work as you had hoped, but with
the cygwin-debug package (good idea BTW) this point would appear to be
moot now.


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