[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.
Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
Порівняння попередніх версійПопередня ревізіяНаступна ревізія | Попередня ревізіяОстання ревізіяПо сторонах наступні версії | ||
uk:slackware:slackbuild_scripts [2014/04/26 07:54 (UTC)] – [SlackBuild scripts] streamthreader | uk:slackware:slackbuild_scripts [2014/05/12 09:38 (UTC)] – [Sources] streamthreader | ||
---|---|---|---|
Рядок 3: | Рядок 3: | ||
====== Скрипти SlackBuild ====== | ====== Скрипти SlackBuild ====== | ||
- | Скрипти SlackBuild це файлі командного інтерпретатора (за звичай вони сумісні з Bourne shell) які автоматизують процес конфігурації, | + | Скрипти SlackBuild це файли командного інтерпретатора (за звичай вони сумісні з Bourne shell) які автоматизують процес конфігурації, |
- | ===== Overview | + | ===== Огляд |
- | The basic process of creating a Slackware | + | Процес створення пакету для |
- | - Uncompress the source archive | + | - Розпакування архіву з сирцевим кодом |
- | - Create a '' | + | - Створення файлу |
- | - Configure the source, and apply patches if needed. | + | - Конфігурація сирцевого коду та за необхідністю застосування патчів до коду. |
- | - Compile/build the source and generate the binaries. | + | - Компіляція/будівництво з сирцевого коду та генерація бінарних файлів. |
- | - Install the program to a temporary directory. This step may be a little bit tricky, depending on how the '' | + | - Встановлення програми в тимчасову директорію. Цей крок може бути складніший, це залежить від системи збірки та як працює |
- | - Copy the program documentation and other necessary files (including post-installation scripts) to the appropriate subdirectories in the temporary installation directory. These locations should adhere to default directory structure used by Slackware | + | - Копіювання документації та інших важливих файлів |
- | - Use the '' | + | - Використовується утиліта |
- | 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 allows the user to share the process with the community at large. It also makes sense to use and modify existing | + | Поки усі переобчисленні кроки робляться в ручну включаючи написання усіх команд. Автоматизувати цей процес допомагають скрипти, яки поширюють користувачі між спільнотою. Так само ці SlackBuild |
- | ===== Creating SlackBuild scripts ===== | + | |
- | A good hands-on tutorial on creating a SlackBuild script can be found [[http:// | ||
- | 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 " | + | ===== Створення скриптів SlakcBuild ===== |
- | 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. | + | Гарний урок по створенню скриптів SlakcBuild можна знайти [[http:// |
- | <note tip>For new script writers, it is a good idea to perform the above steps manually to create the package from source, before actually writing a SlackBuild script. This reduces the chances of bugs and unexpected behaviour in the script.</note> | + | |
- | Submitting SlackBuild scripts to a public repository such as http:// | + | Також, програмне забезпечення може бути написане на різних мовах програмування, |
+ | Рекомендовано усім хто пише скрипт SlackBuild, перед написанням розібратися з системою збірки використаної в конкретному проекті. | ||
+ | В процесі написання SlackBuild скриптів Ви будите збільшувати свій ступінь володіння написання Shell скриптів, | ||
- | ===== Automated | + | Завантаження |
- | Some tools exist that can assist you with creating a SlackBuild | + | ===== Автоматичні генератори |
- | * [[http:// | + | Деякі інструменти які можуть допомогти в створенні |
- | * [[http:// | + | |
- | ===== External Links ===== | + | * [[http:// |
+ | * [[http:// | ||
- | * SlackBuilds Repository - http:// | + | ===== Зовнішні посилання ===== |
- | * SlackBuild templates - http:// | + | |
+ | * SlackBuilds репозиторій - http:// | ||
+ | * SlackBuild шаблони - http:// | ||
- | ===== Sources | + | |
- | * Originally written by | + | ===== Джерела |
+ | * Автор оригіналу | ||
<!-- Please do not change anything below this line--> | <!-- Please do not change anything below this line--> | ||
{{tag> | {{tag> |