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 \
45 Class__Accessor__Chained \
49 .PHONY
: $(PACKAGES
) $(EXTERNAL
)
51 cpan_dependency
: $(EXTERNAL
)
60 test -d deb || mkdir deb
61 test -d deb
/cpan || mkdir deb
/cpan
/
62 cd deb
/cpan
/ && dh-make-perl
--build
--notest
--cpan
$(subst __
,::,$@
)
63 #cd deb/cpan/ && dh-make-perl --build --cpan $(subst __,::,$@)
66 test -d deb || mkdir deb
67 cd
$@
&& PATH
=$(PATH
):/usr
/sbin make
$(SUBTARGET
)
70 mv
*/*.dsc . || echo No dsc file present.
71 mv
*/*.dsc.asc . || echo No asc file present.
72 mv
*/*.
tar.gz . || echo No source file present.
73 mv
*/*.deb . || echo No debian package file present.
74 mv
*/*.changes . || echo No changes file present.
77 # use -i to see more details
81 cd deb
/cpan
/ && rm -f
*.dsc
*.dsc.asc
*.
tar.gz
*.deb
*.changes
82 make
$(PACKAGES
) SUBTARGET
=clean
83 cd deb
/cpan
/ && for DIR in
$(subst __
,-,$(EXTERNAL
)); do \