Template: DistroPackage
From LibrePlanet
(Add WIP template for distro packages) |
(→Usage: Add examples as the dragora packages names expect a "package group" as well.) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | |||
− | |||
== License == | == License == | ||
− | This page is also released under these additional licenses: | + | This page is also released under these additional licenses at your option: |
* CC-BY-SA 3.0 from https://creativecommons.org/licenses/by-sa/3.0/ | * CC-BY-SA 3.0 from https://creativecommons.org/licenses/by-sa/3.0/ | ||
* CC-BY-SA 4.0 http://creativecommons.org/licenses/by-sa/4.0/ | * CC-BY-SA 4.0 http://creativecommons.org/licenses/by-sa/4.0/ | ||
* GFDL 1.3, or (at your option) any later version | * GFDL 1.3, or (at your option) any later version | ||
+ | * GPL 2.0, or (at your option) any later version | ||
== Usage == | == Usage == | ||
− | DistroPackage <Distribution> < | + | Usage: <nowiki>{{DistroPackage|DISTRIBUTION_NAME|PACKAGE_NAME}}</nowiki> |
+ | |||
+ | Examples: | ||
+ | * <nowiki>{{DistroPackage|Parabola|lvm2}}</nowiki> | ||
+ | |||
+ | Valid distributions: | ||
+ | |||
+ | {| class="wikitable sortable" border="1" | ||
+ | |- bgcolor="#6699ff" | ||
+ | ! Distribution | ||
+ | ! Valid names | ||
+ | ! URL | ||
+ | ! Example source code | ||
+ | |- | ||
+ | ! Dragora | ||
+ | | | ||
+ | * dragora | ||
+ | * Dragora | ||
+ | | https://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes/PACKAGE_NAME | ||
+ | | <nowiki>{{DistroPackage|Dragora|boot/grub}}</nowiki> | ||
+ | |- | ||
+ | ! Dynebolic | ||
+ | | | ||
+ | * dynebolic | ||
+ | * Dynebolic | ||
+ | | None: Just displays the name of the package | ||
+ | | | ||
+ | |- | ||
+ | ! Guix | ||
+ | | | ||
+ | * guix | ||
+ | * Guix | ||
+ | | https://packages.guix.gnu.org/packages/PACKAGE_NAME | ||
+ | | <nowiki>{{DistroPackage|Guix|grub}}</nowiki> | ||
+ | |- | ||
+ | ! Hyperbola | ||
+ | | | ||
+ | * hyperbola | ||
+ | * Hyperbola | ||
+ | | https://www.hyperbola.info/packages/PACKAGE_NAME | ||
+ | | <nowiki>{{DistroPackage|Hyperbola|grub}}</nowiki> | ||
+ | |- | ||
+ | ! LibreCMC | ||
+ | | | ||
+ | * librecmc | ||
+ | * LibreCMC | ||
+ | | None: Just displays the name of the package | ||
+ | | | ||
+ | |- | ||
+ | ! Parabola | ||
+ | | | ||
+ | * parabola | ||
+ | * Parabola | ||
+ | | https://www.parabola.nu/packages/PACKAGE_NAME | ||
+ | | <nowiki>{{DistroPackage|Parabola|grub}}</nowiki> | ||
+ | |- | ||
+ | ! ProteanOS | ||
+ | | | ||
+ | * proteanos | ||
+ | * ProteanOS | ||
+ | | None: Just displays the name of the package | ||
+ | | | ||
+ | |- | ||
+ | ! PureOS | ||
+ | | | ||
+ | * pureos | ||
+ | * PureOS | ||
+ | | None: Just displays the name of the package | ||
+ | | | ||
+ | |- | ||
+ | ! Trisquel | ||
+ | | | ||
+ | * trisquel | ||
+ | * Trisquel | ||
+ | | https://packages.trisquel.org/search?keywords=PACKAGE_NAME | ||
+ | | <nowiki>{{DistroPackage|Trisquel|grub}}</nowiki> | ||
+ | |- | ||
+ | ! Ututo S | ||
+ | | | ||
+ | * ututo | ||
+ | * Ututo S | ||
+ | | None: Just displays the name of the package | ||
+ | | | ||
+ | |} | ||
</noinclude> | </noinclude> | ||
− | + | {{#switch: {{{1}}} | |
− | + | | dragora = [https://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes/{{{2}}} {{{2}}}] | |
− | + | | Dragora = [https://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes/{{{2}}} {{{2}}}] | |
+ | | Dynebolic = {{{2}}} | ||
+ | | Dynebolic = {{{2}}} | ||
+ | | guix = [https://packages.guix.gnu.org/packages/{{{2}}} {{{2}}}] | ||
+ | | Guix = [https://packages.guix.gnu.org/packages/{{{2}}} {{{2}}}] | ||
+ | | hyperbola = [https://www.hyperbola.info/packages/{{{2}}} {{{2}}}] | ||
+ | | Hyperbola = [https://www.hyperbola.info/packages/{{{2}}} {{{2}}}] | ||
+ | | librecmc = {{{2}}} | ||
+ | | LibreCMC = {{{2}}} | ||
+ | | parabola = [https://www.parabola.nu/packages/{{{2}}} {{{2}}}] | ||
+ | | Parabola = [https://www.parabola.nu/packages/{{{2}}} {{{2}}}] | ||
+ | | proteanos = {{{2}}} | ||
+ | | ProteanOS = {{{2}}} | ||
+ | | pureos = {{{2}}} | ||
+ | | PureOS = {{{2}}} | ||
+ | | trisquel = [https://packages.trisquel.org/search?keywords={{{2}}} {{{2}}}] | ||
+ | | Trisquel = [https://packages.trisquel.org/search?keywords={{{2}}} {{{2}}}] | ||
+ | | ututo = {{{2}}} | ||
+ | | Ututo S = {{{2}}} | ||
+ | }} |
Latest revision as of 19:51, 1 August 2024
License
This page is also released under these additional licenses at your option:
- CC-BY-SA 3.0 from https://creativecommons.org/licenses/by-sa/3.0/
- CC-BY-SA 4.0 http://creativecommons.org/licenses/by-sa/4.0/
- GFDL 1.3, or (at your option) any later version
- GPL 2.0, or (at your option) any later version
Usage
Usage: {{DistroPackage|DISTRIBUTION_NAME|PACKAGE_NAME}}
Examples:
- {{DistroPackage|Parabola|lvm2}}
Valid distributions:
Distribution | Valid names | URL | Example source code |
---|---|---|---|
Dragora |
|
https://git.savannah.nongnu.org/cgit/dragora.git/tree/recipes/PACKAGE_NAME | {{DistroPackage|Dragora|boot/grub}} |
Dynebolic |
|
None: Just displays the name of the package | |
Guix |
|
https://packages.guix.gnu.org/packages/PACKAGE_NAME | {{DistroPackage|Guix|grub}} |
Hyperbola |
|
https://www.hyperbola.info/packages/PACKAGE_NAME | {{DistroPackage|Hyperbola|grub}} |
LibreCMC |
|
None: Just displays the name of the package | |
Parabola |
|
https://www.parabola.nu/packages/PACKAGE_NAME | {{DistroPackage|Parabola|grub}} |
ProteanOS |
|
None: Just displays the name of the package | |
PureOS |
|
None: Just displays the name of the package | |
Trisquel |
|
https://packages.trisquel.org/search?keywords=PACKAGE_NAME | {{DistroPackage|Trisquel|grub}} |
Ututo S |
|
None: Just displays the name of the package |