The current sys-fs/ntfsprogs-2.0.0 ebuild installs the normal binaries (make &&
make install). Anyway ntfsprogs comes with extra programs for advanced users,
but they are just not supported by the current ebuild. Those programs could be
compiled with an "make extra".
Since gentoo always leaves the user the choice of what he wants, it would be
great to have install these extra programs when an USE variable is on/off. Here
is how we can do with the USE='-minimal'. Just add the following code in the
src_compile() and src_install() functions:
src_compile()
{
if ! use minimal
then
emake extra || die "Make extra failed"
fi
}
src_install()
{
if ! use minimal
then
cd ntfsprogs/.libs
strip ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile
dosbin ntfswipe ntfstruncate ntfsmove ntfsmftalloc ntfsdump_logfile
fi
}
Reproducible: Always