Section: perl
Priority: extra
Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16),
- libclass-dbi-sqlite-perl
+ libapache-request-perl,
libcgi-simple-perl,
libcgi-untaint-perl,
libclass-accessor-perl,
libclass-dbi-pager-perl,
libclass-dbi-perl,
libclass-dbi-plugin-retrieveall-perl,
+ libclass-dbi-sqlite-perl,
libdigest-perl,
libtemplate-perl,
libtemplate-plugin-class-perl,
+ libtest-mockmodule-perl,
+ libtest-pod-perl,
+ libtest-pod-coverage-perl,
libuniversal-moniker-perl,
libuniversal-require-perl,
liburi-perl,
Package: libmaypole-perl
Architecture: all
-Depends: libapache-mod-perl | libapache2-mod-perl2, ${perl:Depends}
+Depends: ${perl:Depends},
+ libcgi-simple-perl,
+ libcgi-untaint-perl,
+ libclass-accessor-perl,
+ libclass-data-inheritable-perl,
+ libclass-dbi-abstractsearch-perl,
+ libclass-dbi-asform-perl,
+ libclass-dbi-fromcgi-perl,
+ libclass-dbi-loader-perl,
+ libclass-dbi-loader-relationship-perl,
+ libclass-dbi-pager-perl,
+ libclass-dbi-perl,
+ libclass-dbi-plugin-retrieveall-perl,
+ libclass-dbi-sqlite-perl,
+ libdigest-perl,
+ libtemplate-perl,
+ libtemplate-plugin-class-perl,
+ libuniversal-moniker-perl,
+ libuniversal-require-perl,
+ liburi-perl,
+ libwww-perl
+Recommends: libapache-mod-perl | libapache2-mod-perl2
Description: Perl framework for MVC-oriented web applications
Maypole is a Perl framework for MVC-oriented web applications, similar
to Jakarta's Struts. Maypole is designed to minimize coding requirements
#!/usr/bin/make -f
-build :
+build : build-stamp
+
+build-stamp : Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
+ $(MAKE) test
+ touch build-stamp
binary : binary-arch binary-indep
binary-arch :
-binary-indep : build
+binary-indep : build-stamp
dh_testroot
- mkdir -p -m755 debian/libmaypole-perl/usr/share/perl5
$(MAKE) PREFIX=$(CURDIR)/debian/libmaypole-perl/usr install
dh_perl
- mkdir -p -m755 debian/libmaypole-perl/usr/share/doc/libmaypole-perl
dh_installchangelogs
dh_installdocs
dh_compress
clean :
if [ -f Makefile ]; then $(MAKE) clean; fi
- dh_clean Makefile
+ dh_clean Makefile Makefile.old build-stamp
.PHONY : build binary binary-arch binary-dep clean