public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Masamichi Hosoda <trueroad@trueroad.jp>
To: marco.atzeri@gmail.com
Cc: cygwin-apps@cygwin.com
Subject: Re: [ITP] liblbfgs 1.10
Date: Sun, 28 Oct 2018 02:46:00 -0000	[thread overview]
Message-ID: <20181028.114515.1492285620604735480.trueroad@trueroad.jp> (raw)
In-Reply-To: <20181028.114139.2100924197332590147.trueroad@trueroad.jp>

[-- Attachment #1: Type: Text/Plain, Size: 229 bytes --]

> Thank you for your reviewing.
> 
> Setting a value in the PKG_SUMMARY array has no effect.
> So I use `eval` for setting the subpackage summaries.
> 
> My updated cygport file is attached.

My updated cygport file is attached.

[-- Attachment #2: liblbfgs.cygport --]
[-- Type: Text/Plain, Size: 967 bytes --]

NAME="liblbfgs"
VERSION=1.10
RELEASE=1

HOMEPAGE="http://www.chokkan.org/software/${PN}/"
SRC_URI="
	https://github.com/downloads/chokkan/${PN}/${PN}-${PV}.tar.gz
	${PN}.pc
"
PATCH_URI="libtool-package-versioning.patch"

CATEGORY="Libs"
SUMMARY="L-BFGS nonlinear optimizer"
DESCRIPTION="This library is a C port of the implementation of
Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method.
The L-BFGS method solves the unconstrainted minimization problems."

abi=1

PKG_NAMES="${PN}${abi} ${PN}-devel"

eval ${PN}${abi}_CONTENTS='"usr/bin/cyglbfgs-${abi}.dll"'
eval ${PN}${abi}_SUMMARY='"${SUMMARY} - runtime"'

eval ${PN}_devel_CONTENTS='"usr/include/ usr/lib/ usr/share/doc/"'
eval ${PN}_devel_SUMMARY='"${SUMMARY} - header and import lib"'

src_install() {
        cd ${B}
	cyginstall
	cd ${S}
	dodir /usr/lib/pkgconfig
	insinto /usr/lib/pkgconfig
	doins ${PN}.pc
}

src_test() {
	export PATH=${B}/lib/.libs:${PATH}
	cd ${B}/sample
	.libs/sample.exe
}

  reply	other threads:[~2018-10-28  2:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-27 15:20 Masamichi Hosoda
2018-10-27 16:54 ` Marco Atzeri
2018-10-28  2:42   ` Masamichi Hosoda
2018-10-28  2:46     ` Masamichi Hosoda [this message]
2018-10-28  9:35       ` Marco Atzeri

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=20181028.114515.1492285620604735480.trueroad@trueroad.jp \
    --to=trueroad@trueroad.jp \
    --cc=cygwin-apps@cygwin.com \
    --cc=marco.atzeri@gmail.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).