CoinMP: fix doc install path

Closes #3779
This commit is contained in:
Jürgen Buchmüller 2016-03-07 22:56:34 +01:00
parent a7b8806e73
commit bcffa8568b

View file

@ -15,10 +15,12 @@ post_configure() {
# remove erroneous cross base prefix from include paths # remove erroneous cross base prefix from include paths
find -name Makefile -exec sed -i "{}" -e "s;-I${XBPS_CROSS_BASE};-I;g" \; find -name Makefile -exec sed -i "{}" -e "s;-I${XBPS_CROSS_BASE};-I;g" \;
} }
post_install() { post_install() {
# Move documentation and license files to a better place # move wrong ${DESTDIR}/${DESTDIR}/usr/share/coin/doc/CoinMP
vmkdir usr/share/doc/CoinMP vmkdir usr/share/coin/doc/CoinMP
mv ${DESTDIR}/usr/share/coin/doc/* ${DESTDIR}/usr/share/doc/CoinMP mv ${DESTDIR}/${DESTDIR}/usr/share/coin/doc/CoinMP/* \
${DESTDIR}/usr/share/coin/doc/CoinMP
} }
CoinMP-devel_package() { CoinMP-devel_package() {
@ -28,5 +30,6 @@ CoinMP-devel_package() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/lib/*.so vmove usr/lib/*.so
vmove usr/share/coin/doc
} }
} }