diff options
author | Francois Perrad <fperrad@gmail.com> | 2018-10-11 18:12:45 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-10-24 00:22:13 +0100 |
commit | fe12a66bdef51aa61503ff251eb0ff892cbde09a (patch) | |
tree | 0467f5b4ca35ccb80f0d966dd01b6f329e9b9cd5 /docs/manual/adding-packages-perl.txt | |
parent | 0df5c2b13b915ca04af1d5dec012d350c415b87c (diff) | |
download | buildroot-fe12a66bdef51aa61503ff251eb0ff892cbde09a.tar.gz buildroot-fe12a66bdef51aa61503ff251eb0ff892cbde09a.zip |
scancpan: add PERL_FOO_DISTNAME in perl-foo.mk
This variable is needed for upgrading packages with scancpan.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'docs/manual/adding-packages-perl.txt')
-rw-r--r-- | docs/manual/adding-packages-perl.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/manual/adding-packages-perl.txt b/docs/manual/adding-packages-perl.txt index eb14d9de18..6ce693fd6e 100644 --- a/docs/manual/adding-packages-perl.txt +++ b/docs/manual/adding-packages-perl.txt @@ -23,8 +23,9 @@ with an example : 10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures 11: PERL_FOO_BAR_LICENSE = Artistic or GPL-1.0+ 12: PERL_FOO_BAR_LICENSE_FILES = LICENSE -13: -14: $(eval $(perl-package)) +13: PERL_FOO_BAR_DISTNAME = Foo-Bar +14: +15: $(eval $(perl-package)) ------------------------ On line 7, we declare the version of the package. @@ -40,7 +41,10 @@ On line 11 and 12, we give licensing details about the package (its license on line 11, and the file containing the license text on line 12). -Finally, on line 14, we invoke the +perl-package+ macro that +On line 13, the name of the distribution as needed by the script ++utils/scancpan+ (in order to regenerate/upgrade these package files). + +Finally, on line 15, we invoke the +perl-package+ macro that generates all the Makefile rules that actually allow the package to be built. |