void-packages/srcpkgs/Clp/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

31 lines
766 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
patch_args=-Np0
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.*"
}
}