New package: CoinMP-1.8.3

This commit is contained in:
Jürgen Buchmüller 2016-02-29 00:08:05 +01:00
parent 877d1f9611
commit 16673beb0e
2 changed files with 44 additions and 0 deletions

View File

@ -2359,3 +2359,15 @@ libpodofo.so.0.9.3 podofo-0.9.3_1
libSwiften.so.0 swiften-2.0_1
libfreehand-0.1.so.1 libfreehand-0.1.1_1
libe-book-0.1.so.1 libe-book-0.1.2_1
libOsi.so.1 CoinMP-1.8.3_1
libClp.so.1 CoinMP-1.8.3_1
libCoinMP.so.1 CoinMP-1.8.3_1
libOsiCbc.so.3 CoinMP-1.8.3_1
libCoinUtils.so.3 CoinMP-1.8.3_1
libClpSolver.so.1 CoinMP-1.8.3_1
libCgl.so.1 CoinMP-1.8.3_1
libOsiClp.so.1 CoinMP-1.8.3_1
libCbc.so.3 CoinMP-1.8.3_1
libOsiCommonTests.so.1 CoinMP-1.8.3_1
libCbcSolver.so.3 CoinMP-1.8.3_1

32
srcpkgs/CoinMP/template Normal file
View File

@ -0,0 +1,32 @@
# Template file for 'CoinMP'
pkgname=CoinMP
version=1.8.3
revision=1
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
}
}