[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:slackware_admin:building_a_package [2021/08/21 11:14 (UTC)] – code highlight zeebra | howtos:slackware_admin:building_a_package [2023/12/14 11:43 (UTC)] (current) – mozes | ||
---|---|---|---|
Line 7: | Line 7: | ||
Configure and compile the source as you usually do: | Configure and compile the source as you usually do: | ||
- | < | + | < |
make</ | make</ | ||
+ | |||
+ | <note important> | ||
Make a temporary destination directory available: | Make a temporary destination directory available: | ||
Line 45: | Line 47: | ||
appname: | appname: | ||
</ | </ | ||
- | The " | + | The " |
The first line must show the application name followed by a short description (enclosed in parentheses). | The first line must show the application name followed by a short description (enclosed in parentheses). | ||
Line 52: | Line 54: | ||
Create the actual package: | Create the actual package: | ||
< | < | ||
- | makepkg ../ | + | makepkg ../ |
//(The dashes should appear as above, so if the version has a subversion like say "1.0 RC2" make sure you use 1.0_RC2 not 1.0-RC2. The arch should be something like " | //(The dashes should appear as above, so if the version has a subversion like say "1.0 RC2" make sure you use 1.0_RC2 not 1.0-RC2. The arch should be something like " | ||
Line 63: | Line 65: | ||
If all went well, you can now install the package. | If all went well, you can now install the package. | ||
cd .. | cd .. | ||
- | | + | |
Line 77: | Line 79: | ||
make install DESTDIR=$(pwd)/ | make install DESTDIR=$(pwd)/ | ||
cd $(pwd)/ | cd $(pwd)/ | ||
- | makepkg -l y -c n ../ | + | makepkg -l y -c n ../ |
- | installpkg ../ | + | installpkg ../ |
Of course, you will have a package without description, | Of course, you will have a package without description, |