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" \;
|
|
|
|
}
|
2016-03-07 22:56:34 +01:00
|
|
|
|
2016-02-29 00:08:05 +01:00
|
|
|
post_install() {
|
2016-03-07 22:56:34 +01:00
|
|
|
# move wrong ${DESTDIR}/${DESTDIR}/usr/share/coin/doc/CoinMP
|
|
|
|
vmkdir usr/share/coin/doc/CoinMP
|
|
|
|
mv ${DESTDIR}/${DESTDIR}/usr/share/coin/doc/CoinMP/* \
|
|
|
|
${DESTDIR}/usr/share/coin/doc/CoinMP
|
2016-02-29 00:08:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
CoinMP-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/*.so
|
2016-03-07 22:56:34 +01:00
|
|
|
vmove usr/share/coin/doc
|
2016-02-29 00:08:05 +01:00
|
|
|
}
|
|
|
|
}
|