OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
perl5
/
Debian
/
Debhelper
/
Buildsystem
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:50:08 AM
rwxr-xr-x
📄
ant.pm
1.03 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
autoconf.pm
2.42 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
cmake.pm
3.73 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
makefile.pm
5.62 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
meson.pm
2.46 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
ninja.pm
2.04 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
perl_build.pm
1.65 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
perl_makemaker.pm
2.15 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
pybuild.pm
7.5 KB
03/26/2018 07:42:23 PM
rw-r--r--
📄
python_distutils.pm
5.3 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
qmake.pm
4.45 KB
05/10/2018 09:11:57 AM
rw-r--r--
📄
qmake_qt4.pm
220 bytes
05/10/2018 09:11:57 AM
rw-r--r--
Editing: autoconf.pm
Close
# A debhelper build system class for handling Autoconf based projects # # Copyright: © 2008 Joey Hess # © 2008-2009 Modestas Vainius # License: GPL-2+ package Debian::Debhelper::Buildsystem::autoconf; use strict; use warnings; use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value sourcepackage compat); use parent qw(Debian::Debhelper::Buildsystem::makefile); sub DESCRIPTION { "GNU Autoconf (configure)" } sub check_auto_buildable { my $this=shift; my ($step)=@_; return 0 unless -x $this->get_sourcepath("configure"); # Handle configure explicitly; inherit the rest return 1 if $step eq "configure"; return $this->SUPER::check_auto_buildable(@_); } sub configure { my $this=shift; # Standard set of options for configure. my @opts; push @opts, "--build=" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); push @opts, "--prefix=/usr"; push @opts, "--includedir=\${prefix}/include"; push @opts, "--mandir=\${prefix}/share/man"; push @opts, "--infodir=\${prefix}/share/info"; push @opts, "--sysconfdir=/etc"; push @opts, "--localstatedir=/var"; if (defined $ENV{DH_QUIET} && $ENV{DH_QUIET} ne "") { push @opts, "--enable-silent-rules"; } else { push @opts, "--disable-silent-rules"; } my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH"); if (! compat(8)) { if (defined $multiarch) { push @opts, "--libdir=\${prefix}/lib/$multiarch"; push @opts, "--libexecdir=\${prefix}/lib/$multiarch"; } else { push @opts, "--libexecdir=\${prefix}/lib"; } } else { push @opts, "--libexecdir=\${prefix}/lib/" . sourcepackage(); } push @opts, "--runstatedir=/run" if not compat(10); push @opts, "--disable-maintainer-mode"; push @opts, "--disable-dependency-tracking"; # Provide --host only if different from --build, as recommended in # autotools-dev README.Debian: When provided (even if equal) # autoconf 2.52+ switches to cross-compiling mode. if (dpkg_architecture_value("DEB_BUILD_GNU_TYPE") ne dpkg_architecture_value("DEB_HOST_GNU_TYPE")) { push @opts, "--host=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE"); } $this->mkdir_builddir(); eval { $this->doit_in_builddir($this->get_source_rel2builddir("configure"), @opts, @_); }; if ($@) { if (-e $this->get_buildpath("config.log")) { $this->doit_in_builddir('tail', '-v', '-n', '+0', 'config.log'); } die $@; } } sub test { my $this=shift; $this->make_first_existing_target(['test', 'check'], "VERBOSE=1", @_); } 1