[Debian-med-packaging] Help needed to update libswiss-perl
Andreas Tille
andreas at an3as.eu
Mon Apr 16 09:47:40 BST 2018
Hi Dominique,
On Mon, Apr 16, 2018 at 09:28:05AM +0200, Dominique Dumont wrote:
> Create a new file type as suggested there:
>
> https://perldoc.perl.org/Module/Build/Cookbook.html#Adding-new-file-types-to-the-build-process
>
> dr_org must be listed explicitly like the "dat_files" mentioned in the cookbook above.
>
> You can also see this example from Config::Model where "appli" files (without extension)
> are discovered and added to a new "appli" file type:
>
> https://github.com/dod38fr/config-model/blob/master/Build.PL#L50
I interpret your hint as if the following quilt patch should help:
Author: Andreas Tille <tille at debian.org>
Last-Update: Mon, 16 Apr 2018 09:28:05 +0200
Origin: https://lists.debian.org/debian-perl/2018/04/msg00012.html
Description: Make sure file lib/SWISS/dr_ord will be installed
--- a/Build.PL
+++ b/Build.PL
@@ -8,6 +8,7 @@ my $build=Module::Build->new
( module_name => 'Swissknife',
requires => { 'perl' => '5.6.1' },
dist_version_from => 'lib/SWISS/Entry.pm',
+ dat_files => {'lib/SWISS/dr_ord' => 'lib/SWISS/dr_ord'},
create_makefile_pl => 'traditional',
create_readme => 'README',
license => 'gpl',
Unfortunately it does not. Inside the pbuilder environment I tried:
root:/# cd build/swissknife-1.75/
root:/build/swissknife-1.75# find . -name dr_ord
./lib/SWISS/dr_ord
Any more detailed hint for dummies like me?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list