Gentoo Development Guide

eutils.eclass Reference

The eutils eclass provides various useful functions. For full documentation, see man eutils.eclass.

Function Details
epause See Message Functions Reference and Messages
ebeep See Message Functions Reference and Messages
gen_usr_ldscript Generate a linker script in /usr/lib for dynamic libraries in /lib
draw_line Draw a line the same length as the arguments. Do not use this for messages.
epatch Apply a patch (see man eutils.eclass and Patching with epatch).
have_NPTL True if we are using NPTL (threads).
get_number_of_jobs Try to get the number of jobs to use when compiling.
emktemp Replacement for mktemp.
egetent Wrapper for getent.
enewuser See Users and Groups.
enewgroup See Users and Groups.
edos2unix Fix one or more files to use Unix line endings.
make_desktop_entry Create a .desktop file. Args are the binary, the name, the icon, the application type and the startup path.
make_session_desktop Create a GDM session file. Arguments are the title and the command.
domenu Install a menu file.
doicon Install an icon file.
check_license Display a license for the user to accept. Argument is the license to use.
cdrom_get_cds See man eutils.eclass.
cdrom_load_next_cd See man eutils.eclass.
strip-linguas Make sure LINGUAS contains only allowed values. See Linguas.
built_with_use Check that a package was built with a given USE flag enabled.
dopamd Install a pam auth config file.
newpamd Install a pam auth config file (two arg version).