2016-02-29 00:08:05 +01:00
|
|
|
# Template file for 'CoinMP'
|
|
|
|
pkgname=CoinMP
|
|
|
|
version=1.8.3
|
2016-02-29 00:22:22 +01:00
|
|
|
revision=2
|
2016-02-29 00:08:05 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="doxygen graphviz pkg-config"
|
|
|
|
short_desc="Library that supports most of Coin CLP, CBC and CGL"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://projects.coin-or.org/CoinMP"
|
|
|
|
distfiles="http://www.coin-or.org/download/source/${pkgname}/${pkgname}-${version}.tgz"
|
|
|
|
checksum=a1a665db36c7fd69c1e53fffbd108cae1bf22f08acf81c394cd454b8168f22f7
|
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
# remove erroneous cross base prefix from include paths
|
|
|
|
find -name Makefile -exec sed -i "{}" -e "s;-I${XBPS_CROSS_BASE};-I;g" \;
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
# Move documentation and license files to a better place
|
|
|
|
vmkdir usr/share/doc/CoinMP
|
|
|
|
mv ${DESTDIR}/usr/share/coin/doc/* ${DESTDIR}/usr/share/doc/CoinMP
|
|
|
|
}
|
|
|
|
|
|
|
|
CoinMP-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|