From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: cygport for simple package addon: skip prep?
Date: Sat, 08 Dec 2018 17:29:00 -0000 [thread overview]
Message-ID: <c5b007f0-b88a-49c8-3798-c0c268ad7db8@gmail.com> (raw)
In-Reply-To: <6df50d8e-60a5-cd0d-60a2-30bf41c7c04a@avenger.ws>
Am 07.12.2018 um 23:42 schrieb Heavenly Avenger:
> I am trying to write a cygport file for an extension to docbook-xsl
> called mathml.
>
In general you should ask this question on the cygwin mailing list.
This one is for discussion between package maintainer, or are
you planning to become one ?
> The latest version of the DTD file is at
> https://docbook.org/xml/mathml/${VERSION}/dbmathml.dtd, and it is not
> zipped nor packaged in any way.
>
> The package consists on just a single .DTD file and I can't figure out
> how to make cygport "skip" the unpack attempt during "cygport prep". I
> might need to just copy the file into what it assumes to be the package
> directory, then during compile/install time, just copy over the file to
> the correct location, and determine that as the package's contents.
My solution for similar issue is to make a dummy source package with
just a readme inside
src_compile() {
:
}
src_install() {
# copy of the data from ...
ORIG="/cygdrive/d/cyg_pub/devel/tesseract/git"
cd ${D}/usr/share/doc/docbook-xml...
wget https://docbook.org/xml/mathml/${VERSION}/dbmathml.dtd
}
>
> I have this debian package as a base to what should be in the package
> file: https://packages.debian.org/sid/all/docbook-mathml/filelist
>
> It seems to be a so basic addition that cygport is kind of too complex
> for it -- but it would be useful as a way to "remember" installation
> steps required on cygwin, if the correct setup instructions are saved in
> a cygport file.
>
> Any ideas and directions are welcome. If you know a cygwin package in a
> similar format (just installs a file that it downloads in its original,
> uncompressed format), that'd be of great help as well.
>
> Thanks in advance!
>
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
next prev parent reply other threads:[~2018-12-08 17:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-07 22:43 Heavenly Avenger
2018-12-08 17:29 ` Marco Atzeri [this message]
2018-12-08 21:35 ` Heavenly Avenger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5b007f0-b88a-49c8-3798-c0c268ad7db8@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).