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: ITP: mksh-R39c-1


On 2010-04-25 16:25, Chris Sutcliffe wrote:
With the latest cygport release (0.9.82)  now supporting .cpio.gz
archives, I've repackaged mksh using the latest cygport.

SRC_URI="https://www.mirbsd.org/MirOS/dist/mir/mksh/${P}.cpio.gz";

Your package version ("PV" in cygport terms) ends up being "R39c", but according to the website[1] that is an illegal value: "The version number must start with a digit..."


So I recommend you drop the leading "R" and call this mksh-39c-1.cygport, changing SRC_URI to:

SRC_URI="https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${PV}.cpio.gz";

PKG_HINTS=setup

This is the default and need not be specified where only one binary package is created.


src_compile() {
  lndirs
  cd ${B}
  sh ./Build.sh
}

src_test() { cd ${B} ./test.sh }

  insinto /usr/share/man/man1
  doins mksh.1

doman mksh.1


  insinto /usr/share/doc/mksh/examples
  doins dot.mkshrc

docinto examples dodoc dot.mkshrc


Yaakov


[1] http://cygwin.com/setup.html#sourceware.org


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