mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/fpm: replace 'doexe' with 'fpm install'
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -82,8 +82,12 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
exeinto /usr/bin
|
# Set prefix and pass all used env flags to avoid recompiling with default values
|
||||||
doexe build/"$(tc-getFC)"_*/app/fpm
|
"${BSDIR}"/fpm install --prefix "${ED}/usr" \
|
||||||
|
--compiler "$(tc-getFC)" --flag "${FCFLAGS} -I/usr/include/toml-f -I/usr/include/m_cli2" \
|
||||||
|
--c-compiler "$(tc-getCC)" --c-flag "${CFLAGS}" \
|
||||||
|
--cxx-compiler "$(tc-getCXX)" --cxx-flag "${CXXFLAGS}" \
|
||||||
|
--archiver="$(tc-getAR)" --link-flag "${LDFLAGS}"
|
||||||
|
|
||||||
use doc && HTML_DOCS=( "${S}"/fpm-doc/. )
|
use doc && HTML_DOCS=( "${S}"/fpm-doc/. )
|
||||||
einstalldocs
|
einstalldocs
|
||||||
|
|||||||
Reference in New Issue
Block a user