Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sbingner/dm.pl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dm.pl

A basic Perl program that makes Debian software packages (.deb files) without needing dpkg installed. It works as a drop-in replacement for dpkg-deb -b, with compatible flags.

Installation

dm.pl is included with and used by Theos, so if you’re wanting to use this with Theos, you’re likely already using it. (If not, update!)

Otherwise, you can either install with npm:

npm install -g @theosdev/dm.pl

…or clone a copy of this repo:

git clone https://github.com/theos/dm.pl.git

…and immediately start using it.

This will work on any system with Perl and xz-utils installed. (If you’re not sure, they almost certainly are already installed by your OS.)

Synopsis

dm.pl [options] <directory> <package>

Options

  • -b: This option exists solely for compatibility with dpkg-deb.
  • -Z<compression>: Specify the package compression type. Valid values are gzip (default), bzip2, lzma, xz and cat (no compression.)
  • -z<compress-level>: Specify the package compression level. Valid values are between 0 and 9. Default is 9 for bzip2, 6 for others. 0 is identical to 1 when using bzip2. Refer to gzip(1), bzip2(1), xz(1) for explanations of what effect each compression level has.
  • --help, -?: Print a brief help message and exit.
  • --man: Print a manual page and exit.

License

Licensed under the MIT License. Refer to LICENSE.md.

About

not dpkg-deb, nor a plane, nor a bird.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Perl 59.4%
  • Roff 37.0%
  • Makefile 3.6%