mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -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() {
|
||||
exeinto /usr/bin
|
||||
doexe build/"$(tc-getFC)"_*/app/fpm
|
||||
# Set prefix and pass all used env flags to avoid recompiling with default values
|
||||
"${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/. )
|
||||
einstalldocs
|
||||
|
||||
Reference in New Issue
Block a user