Main > Programming > Libraries >

DPKG::Make 0.1

DPKG::Make 0.1

Sponsored Links

DPKG::Make 0.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 6 (1 times)
File size: 0.007 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1157
Date added: 2006-09-23
Publisher: Scott Harrison

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);

DPKG::Make 0.1 Screenshot

Advertisements

DPKG::Make 0.1 Keywords

Bookmark DPKG::Make 0.1

Hyperlink code:
Link for forum:

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 publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
dpkg-du is a quick little script to produce a dump of the installed size of Debian packages in du format. Free Download
RPM::Make is a Perl module to cleanly generate an RPM. Free Download
dpkg-changes is a simple script which will report on the packages which have been installed, or uninstalled. Free Download
Test::STDmaker is a Perl module to generate test scripts, demo scripts from a test description short hand. Free Download
List::Maker is a Perl module that can generate more sophisticated lists than just $a..$b. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
Math::CDF is a Perl module to generate probabilities and quantiles from several statistical probability functions. Free Download
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. Free Download