[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 04:37 (UTC)] – Respecter la normalisation Slackware de installpkg pierreaverseng | fr:slackware:slackbuild_scripts [2017/05/06 14:36 (UTC)] – [Sommaire] pierreaverseng | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
===== Sommaire ===== | ===== Sommaire ===== | ||
- | La méthode générale pour créer un paquet Slackware | + | La méthode générale pour créer un paquet Slackware à partir des sources peut être résumée comme suit, même si certains détails peuvent varier d'un système de construction à l' |
- Décompresser l' | - Décompresser l' | ||
- Créer un fichier '' | - Créer un fichier '' | ||
- | - 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é sans qu'il soit possible de procéder à une vraie "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 29: | Ligne 29: | ||
===== Automated SlackBuild generators ===== | ===== Automated SlackBuild generators ===== | ||
+ | |||
+ | Some tools exist that can assist you with creating a SlackBuild script. Here are a few examples. | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ===== External Links ===== | ||
+ | |||
+ | * SlackBuilds Repository - http:// | ||
+ | * SlackBuild templates - http:// | ||
+ | |||
+ | |||
+ | ===== Sources ===== | ||
+ | * Originally written by [[wiki: | ||
+ | |||
+ | <!-- Please do not change anything below this line--> | ||
+ | {{tag> |