DPKG::Make 0.1
Sponsored Links
DPKG::Make 0.1 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
9612
Date added:
2006-09-23
Publisher:
Scott Harrison
Publisher URL:
http://search.cpan.org/~s
DPKG::Make 0.1 description
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);
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);
DPKG::Make 0.1 Screenshot
Sponsored Links
DPKG::Make 0.1 Keywords
DPKG
Make 0.1
DPKGMake
Perl module
Debian package
package
metadata
0.1
generate
Perl
software
DPKG::Make 0.1
Libraries
Programming
Bookmark DPKG::Make 0.1
DPKG::Make 0.1 Copyright
WareSeeker periodically updates pricing and software information of DPKG::Make 0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of DPKG::Make 0.1 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
DPKG::Make 0.1 Related Software
GNU make is a tool which controls the generation of executables and other non-source files of a program.
Pre Make Kit aims to be a BSD alternative to GNU autoconf, GNU libtool, and pkg-config.
PPM::Make is a Perl module that can Make a ppm package from a CPAN distribution.
W-Packager is a packager similar to dpkg that can be used by anyone to create and maintain Debian packages under Linux.
Buddy is a tiny, fast, and proper Debian package handler which acts as a wrapper to apt-get and dpkg.
dpkg-du is a quick little script to produce a dump of the installed size of Debian packages in du format.
dpkg-changes is a simple script which will report on the packages which have been installed, or uninstalled.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD