Linux SoftwareProgrammingLibrariesDPKG::Make 0.1

DPKG::Make 0.1


DPKG::Make is a Perl module for cleanly generate an Debian package (.dpkg). SYNOPSIS use DPKG::Make; # The "Manifest
Developer:   Scott Harrison
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   7K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


DPKG::Make is a Perl module for cleanly generate an Debian package (.dpkg).

SYNOPSIS

use DPKG::Make;

# The "Manifest": list of files that will comprise the software package.
my @filelist=('tmproot/file1.txt',
'tmproot/file2.txt',
'tmproot/file3.txt',
'tmproot/file4.txt');

my %doc; my %conf; my %metadata;

# Define special handling of files.
$doc{'tmproot/file1.txt'}=1;
$conf{'tmproot/file2.txt'}=1;

# Bare minimum metadata (descriptive data of the software package).
my $pathprefix='tmproot';
my $tag='test'; # cannot use uppercase characters
my $version='0.1';
my $release='1';

# Highly descriptive metadata.
%metadata=(
'vendor'=>'Excellence in Perl Laboratory',
'summary'=>'a Test Software Package',
'name'=>$tag,
'copyrightname'=>'...',
'group'=>'base',
'AutoReqProv'=>'no',
'requires=>[()],
'email'=>'joe@somewhere.com',
'description'=>'This package is generated by DPKG::Make. '.
'This implements the '.$tag.' software package',
'pre'=>'echo "You are installing a package built by DPKG::Make; '.
'DPKG::Make is available at http://www.cpan.org/."',
);

# Temporary "sandbox" (this should not be /tmp because this is deleted!).
my $buildloc='TempBuildLoc';

# The "execute" subroutine coordinates all of the DPKG building steps.
DPKG::Make::execute($tag,$version,$release,$arch,$buildloc,$pathprefix,
@filelist,%doc,%conf,
%metadata);

# You can also build a DPKG in more atomic steps; these three smaller
# steps are equivalent to the execute command.

# Step 1: Generate the rpm source location.
DPKG::Make::dpkgsrc($tag,$version,$release,$arch,$buildloc,$pathprefix,
@filelist,%doc,%conf,
%metadata);

# Step 2: Build the rpm and copy into the invoking directory.
DPKG::Make::compiledpkg($buildloc,$metadata{'name'},$version,
$release,$arch,
$currentdir,$invokingdir);

# Step 3: clean the location used to gather and build the rpm.
DPKG::Make::cleanbuildloc($buildloc);

Requirements:
  • Perl
    tags dpkg make  software package  version release  release arch  txt tmproot  the rpm  build the  conf metadata  pathprefix @filelist  doc conf  @filelist doc  buildloc pathprefix  tag version  

    Download DPKG::Make 0.1


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/S/SH/SHARRISON/DPKG-Tools-0.1.tar.gz


    Authors software

    Similar software

    DPKG::Make 0.1 (by Scott Harrison)
    DPKG::Make is a Perl module for cleanly generate an Debian package (.dpkg).

    SYNOPSIS

    use DPKG::Make;

    # The "Manifest

    RPM::Make 0.8 (by Scott Harrison)
    RPM::Make is a Perl module to cleanly generate an RPM.

    SYNOPSIS

    use RPM::Make;

    # The "Manifest": list of files that

    CheckInstall 1.6.1 (by Izto)
    CheckInstall project keeps track of all files installed by a "make install" or equivalent, creates a Slackware, RPM, or Debian packag

    Alien 8.63 (by Joey Hess)
    Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats

    dpkg-changes 1.2 (by Steve Kemp)

    Alien GUI 0.4 (by Thibault Baldetti)
    Alien GUI is a graphical user interface of famous Alien which makes it possible to transform packages.

    You must be logged in root

    Warsync 0.9.8 (by Paul Baker)
    Warsync is the program that initiates replication between the Warsync server and it's clients

    paco 1.10.12 (by David Rosal)
    Paco project is a source code package organizer for Unix/Linux systems, originally written to aid package management when installing

    Package DataBase View 2.0.10 (by yeupou)
    Pdbv output a HTML view of a RPM or dpkg database

    wmpuzzle 0.5.0 (by Martin A. Godisch)
    wmpuzzle provides a 4x4 puzzle on a 64x64 mini window


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags