Commit 6e9d322a authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files

scancpan: adjust package name



underscore is not allowed in BR package name.
this problem was found with the Perl module DB_File
which must give the BR package perl-db-file.

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8821b54f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,5 +8,5 @@ config BR2_PACKAGE_PERL_DB_FILE

	  https://metacpan.org/release/DB_File

comment "perl-db_file needs a toolchain w/ dynamic library"
comment "perl-db-file needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS
+1 −1
Original line number Diff line number Diff line
################################################################################
#
# perl-db_file
# perl-db-file
#
################################################################################

+1 −0
Original line number Diff line number Diff line
@@ -607,6 +607,7 @@ say scalar keys %dist, q{ packages fetched.} unless $quiet;
# Buildroot package name: lowercase
sub fsname {
    my $name = shift;
    $name =~ s|_|-|g;
    return q{perl-} . lc $name;
}