void-packages/srcpkgs/Clp/template

30 lines
750 B
Bash

# Template file for 'Clp'
pkgname=Clp
version=1.17.3
revision=2
build_style=gnu-configure
depends="libClp>=${version}_${revision}"
short_desc="COIN LP Solver"
maintainer="nexolight <snow.dream.ch@gmail.com>"
license="EPL-1.0"
homepage="http://projects.coin-or.org/Clp"
distfiles="https://www.coin-or.org/Tarballs/${pkgname}/${pkgname}-${version}.tgz"
checksum=a13bf54291ad503cf76f5f93f2643d2add4faa5d0e60ff2db902ef715c094573
libClp-devel_package() {
short_desc+=" - development files"
depends="lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/coin
}
}
libClp_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/lib*.so.*"
}
}