[ITP] liblbfgs 1.10
Masamichi Hosoda
trueroad@trueroad.jp
Sun Oct 28 02:46:00 GMT 2018
> 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.
-------------- next part --------------
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
}
More information about the Cygwin-apps
mailing list