[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
fr:slackware:slackbuild_scripts [2017/05/04 06:22 (UTC)] – [Sommaire] pierreaverseng | fr:slackware:slackbuild_scripts [2017/05/06 16:56 (UTC)] – [Création de scripts SlackBuild] pierreaverseng | ||
---|---|---|---|
Ligne 11: | Ligne 11: | ||
- Configurer le fichier source, et appliquer les correctifs, si nécessaire. | - Configurer le fichier source, et appliquer les correctifs, si nécessaire. | ||
- Lancer la compilation/ | - Lancer la compilation/ | ||
- | - Installer le programme dans un répertoire provisoire. Cette étape peut s' | + | - Installer le programme dans un répertoire provisoire. Cette étape peut s' |
- | - Copier la documentation du programme et les autres fichiers nécessaires (y compris les scripts de post-installation ) dans les sous-répertoires appropriés du répertoire temporaire d' | + | - Copier la documentation du programme et les autres fichiers nécessaires (y compris les scripts de post-installation ) dans les sous-répertoires appropriés du répertoire temporaire d' |
- | - Use the '' | + | - Employer l' |
- | While the above steps can be done by hand, the process is tedious, sometimes complex, and involves typing in a lot of commands. Automating the process by a shell script | + | Bien qu'on puisse faire à la main, point par point, ce qui vient d' |
- | ===== Creating SlackBuild | + | ===== Création de scripts |
- | A good hands-on tutorial on creating a SlackBuild | + | Un bon tutoriel qui montre comment créer un script |
- | However, software may be written in different programming languages, use different build systems, or may even simply be written in an interpreted programming language with no obvious way to "install" | + | Cependant, les logiciels peuvent être écrits dans différents langages de programmation, utiliser différents systèmes de construction, ou peuvent même être écrits tout simplement dans un langage interprété de sorte qu'on ne peut pas vraiment procéder à leur "installation" |
It is recommended that anybody who wishes to write a SlackBuild script, study and understand the build system of a software project before attempting to write a SlackBuild script for it. A degree of proficiency in writing shell scripts is also a definite benefit, as it is the practice to use Bourne shell compatible scripts for SlackBuilds. Ideally, simple C projects which use the standard GNU Make system is a good way to start practicing writing SlackBuild scripts. | It is recommended that anybody who wishes to write a SlackBuild script, study and understand the build system of a software project before attempting to write a SlackBuild script for it. A degree of proficiency in writing shell scripts is also a definite benefit, as it is the practice to use Bourne shell compatible scripts for SlackBuilds. Ideally, simple C projects which use the standard GNU Make system is a good way to start practicing writing SlackBuild scripts. | ||
Ligne 42: | Ligne 42: | ||
===== Sources ===== | ===== Sources ===== | ||
- | * Originally written by [[wiki: | + | * Originally written by [[wiki: |
<!-- Please do not change anything below this line--> | <!-- Please do not change anything below this line--> | ||
- | {{tag> | + | {{tag> |