Sub-package with examples extracted from a source tarball's directory.

Marco Atzeri marco.atzeri@gmail.com
Sat Dec 8 17:17:00 GMT 2018


Am 02.12.2018 um 01:12 schrieb Heavenly Avenger:
> Say, if I wanted to create an "-examples" package (of well, libssh2),
> but it didn't install the example files to any directory through "make
> install".
>
> Do I have to patch makefile so that "make install" places these files
> somewhere, like /usr/docs/libssh2/examples?

copy the file in the installation directory with dodoc
after the cyginstall

https://cygwinports.github.io/cygport/src_install_cygpart.html#robo144

something like

src_install() {
         cyginstall
         insinto /usr/share/doc/${PN}/example
         doins ${S}/file...
}

> Just wondering... Probaly too much trouble. :)
>

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the Cygwin-apps mailing list