2 # we need this packages to build external cpan modules (debian etch)
3 # libversion-perl libmodule-build-perl iblog-log4perl-perl libdatetime-perl
4 # libapache-request-perl libtest-exception-perl libxml-sax-perl
5 # libxml-sax-writer-perl libtree-dagnode-perl liburi-perl
6 # libclass-factory-perl libxml-simple-perl libdatetime-format-strptime-perl
7 # libhttp-server-simple-perl libdata-page-perl
9 # do not change the order
10 # some packages have build dependencies
20 # Data::Password Data::Serializer DateTime::Format::DateParse IPC::ShareLite
21 # Locale::TextDomain Proc::ProcessTable Sys::SigAction Workflow
22 # XML::Filter::XInclude XML::SAX::PurePerl XML::Validator::Schema
23 # Exception::Class 1.22 Added Exception::Class::Base->caught()
35 XML__Filter__XInclude \
36 XML__Validator__Schema \
38 DateTime__Format__DateParse \
42 HTTP__Server__Simple__Mason \
43 Test__HTTP__Server__Simple \
44 Data__SpreadPagination
46 .PHONY
: $(PACKAGES
) $(EXTERNAL
)
48 cpan_dependency
: $(EXTERNAL
)
57 cd deb
/cpan
/ && dh-make-perl
--build
--notest
--cpan
$(subst __
,::,$@
)
60 cd
$@
&& PATH
=$(PATH
):/usr
/sbin make
$(SUBTARGET
)
63 mv
*/*.dsc . || echo No dsc file present.
64 mv
*/*.dsc.asc . || echo No asc file present.
65 mv
*/*.
tar.gz . || echo No source file present.
66 mv
*/*.deb . || echo No debian package file present.
67 mv
*/*.changes . || echo No changes file present.
70 # use -i to see more details
74 cd deb
/cpan
/ && rm -f
*.dsc
*.dsc.asc
*.
tar.gz
*.deb
*.changes
75 make
$(PACKAGES
) SUBTARGET
=clean
76 cd deb
/cpan
/ && for DIR in
$(subst __
,-,$(EXTERNAL
)); do \