7.12. Mktemp-1.5

Le paquet Mktemp contient des programmes utilisés pour créer des fichiers temporaires sécurisés à partir de scripts shell.

7.12.1. Installation de Mktemp

Mktemp will try to pass the -s switch to install to strip the binaries. This will not work when cross compiling, so run the following commands to remove this:

cp -v Makefile.in{,.orig}
sed  's/\(0555 \)-s /\1/' Makefile.in.orig >Makefile.in

Préparez la compilation de Mktemp :

CC="${CC}" ./configure --prefix=/tools --with-libc\
    --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compilez le paquet :

make

Installez le paquet :

make install

Les détails sur ce paquet sont situés dans Section 10.42.2, “Contenu de Mktemp.”