tag 499225 patch quit here's a buildsystem class to add support for this. I would be grateful if you would add it to the package.
also, while working on this I noticed in doc/PROGRAMMING it says: A buildsystem class needs to inherit or define these methods: DESCRIPTION, check_auto_buildable, build, test, install, clean. I think configure should be added to that list, yes? Thanks, Ryan -- _________________________ Ryan Niebur ryanrya...@gmail.com
package Debian::Debhelper::Buildsystem::waf; use strict; use base 'Debian::Debhelper::Buildsystem'; sub DESCRIPTION { "waf" } sub check_auto_buildable { my ($this, $step) = @_; return(-e $this->get_sourcepath("waf")); } sub new { my $class=shift; my $this= $class->SUPER::new(@_); $this->enforce_in_source_building(); return $this; } sub _do_waf { my $this = shift; return $this->doit_in_sourcedir("./waf", "--nocache", @_); } sub configure { my $this=shift; $this->_do_waf("configure", "--prefix=/usr/", @_); } sub test { my $this=shift; $this->_do_waf("check", @_); } sub install { my $this=shift; my $destdir=shift; $this->_do_waf("install", "--destdir", $destdir, @_); } sub build { my $this=shift; $this->_do_waf("build", @_); } sub clean { my $this=shift; $this->_do_waf("distclean", @_); $this->doit_in_sourcedir("rm", "-rf", "_build_"); } 1;
signature.asc
Description: Digital signature