void-packages/srcpkgs/Clp/template

31 lines
735 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="https://github.com/coin-or/Clp"
distfiles="https://www.coin-or.org/Tarballs/Clp/Clp-${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.*"
}
}