NAME

Debian::Package::Make::Debhelper - Perl extension for autobuilding Debian packages

SYNOPSIS

Debian::Package::Make::Debhelper is an implementation of the Debian::Package::Make interface that creates default files for debhelper(7).

ATTRIBUTES

  • standards_version

  • build_depends build_depends_indep

  • binaries

PUBLIC INTERFACE

add_binary

Causes a binary package $binname with $attributes to be added.

Valid attributes include:

  • depends suggests recommends conflicts

    ARRAYs containing the dependencies. This may include terms that are interpreted by Debhelper scripts, i.e. ${shlib:Depends}.

  • description, longdesc

    The short and long description for the binary package.

prepare_files

prepare_files populates $self-{files}> with sensible defaults for a debhelper(7)-based setup. At the moment, this includes the following files, but other files may be added in later versions of Debian::Package::Make.

  • debian/control

  • debian/changelog

  • debian/compat

  • debian/rules

A subclass that uses prepare_files should add a proper debian/copyright file and populate debian/install, debian/docs, debian/links and/or patch the entry for debian/rules. See debhelper(7) for details.

BUGS

  • This module lacks documentation. For the time being, please refer to the scripts in the examples directory.

SEE ALSO

Debian::Package::Make, debhelper(7)

AUTHOR

Hilko Bengen, <bengen@debian.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Hilko Bengen

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.