[ITP] chicken-

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Dec 11 10:14:00 GMT 2014

On Dec 11 10:16, Christian Kellermann wrote:
> Hi All!
> Based on the feedback of Marco and Corinna, I propose the following
> cygport file for the chicken upgrade:
> [...]
> src_install() {
> 	cd ${B}
> 	cyginstall
> }

This is default behaviour so you should be able to do without the
src_install function.

> [...]
> There might be a minor nitpick that I don't know how to get to work:
> I need to update an internal database of available chicken modules.
> However due to the internal design, I need to call this either so
> that PREFIX equals DESTDIR during make install or the *installed*
> binary after unpacking the cygwin package tarball. Is there an
> infrastructure for such things?

Postinstall scripts.  If you install a *.sh script (preferredly called
after your package) into /etc/postinstall,  it will run after every
install and update.

If you add a *.sh into /etc/preremove, it will run before every package
removal and before every update.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20141211/48e69602/attachment.sig>

More information about the Cygwin-apps mailing list