This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Sub-package with examples extracted from a source tarball's directory.
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 8 Dec 2018 18:17:26 +0100
- Subject: Re: Sub-package with examples extracted from a source tarball's directory.
- References: <c14a7aa9-40a7-daa8-1877-7f5d30bcfb14@avenger.ws>
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