30 lines
751 B
Bash
30 lines
751 B
Bash
# Template file for 'Clp'
|
|
pkgname=Clp
|
|
version=1.16.12
|
|
revision=1
|
|
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=48aa83686c18dbd833f9c4892f39c6228e21b8c65b5f2ab671e994e1ee551b52
|
|
|
|
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.*"
|
|
}
|
|
}
|