[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.
Разлике
Овде су приказане разлике између изабране ревизије и тренутне верзије странице.
Обе стране последње ревизијеПретходна ревизијаСледећа ревизија | Претходна ревизијаСледећа ревизијаОбе стране следеће ревизије | ||
sr:slackware:slackbuild_scripts [2013/09/13 18:37 (UTC)] – [СлакБилд скрипте] sinisa | sr:slackware:slackbuild_scripts [2013/09/13 20:14 (UTC)] – [External Links] sinisa | ||
---|---|---|---|
Линија 14: | Линија 14: | ||
- Распаковати архиву изворног фајла (обично .tar.gz or .tar.bz2 фајл) у " | - Распаковати архиву изворног фајла (обично .tar.gz or .tar.bz2 фајл) у " | ||
- | - Uncompress the source archive (usually .tar.gz or .tar.bz2 file) into a "work directory." | ||
- Креирајте '' | - Креирајте '' | ||
- | - 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 to store applications installed by the package manager, viz. inside the ''/ | + | - Користите |
- | - 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 scripts for upgrading the same program to a newer version. | + | Иако се горњи кораци могу ручно урадити, процес је досадан, понекад и сложен те захтева типкање много команди. Аутоматизовање процеса користећи шел скрипте допушта кориснику да дели процес са целом заједницом. Такође има смисла користити и модификовати постојећу СлакБилд скрипту за надоградњу истог програма на последњу верзију. |
- | ===== 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 "install" | + | Међутим програми могу бити написани у различитим програмским језицима, користе другачији систем изградње, или пак буду написани у програмском језику без очигледног начина |
- | 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. | + | Препоручено је свакоме ко жели да се бави писањем СлакБуилд скрипти да проучи и разуме систем изградње програма пре него што почне правити СлакБилд скрипту за њега. Степен знања у писању СлакБуилд скрипти је предност, јер се за СлакБилдс користе Борн шел компатибилне скрипте. У иделаном случају, једноставан Ц пројекат је одличан начин за вежбање писања СлакБилд скрипти. |
- | <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.</ | + | |
- | Submitting SlackBuild scripts to a public repository such as http://www.slackbuilds.org may additionally require adherence to certain conventions and coding standards. For instance, it would be necessary for the script to determine the target architecture at runtime rather than hard-coding it into the script. These standards attempt to make SlackBuild scripts as portable as possible. | + | <note tip>За почетнике у писању скрипти, |
+ | Слање СлакБилд скрипти у јавна складишта/ | ||
- | ===== Automated SlackBuild generators | + | ===== Аутоматизовани СлакБилдс генератори |
- | Some tools exist that can assist you with creating a SlackBuild script. Here are a few examples. | + | Постоје неки алати који Вам могу помоћи при креирању СлакБилд скрипти. Ево пар примера. |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | ===== External Links ===== | + | ===== Спољне Везе |
- | * SlackBuilds Repository | + | * СлакБилд репозиторијум |
- | * SlackBuild templates | + | * СлакБилд шаблони |