debian-binary-0.0.1: Utilities to work with debian binary packages

Portabilityunportable
Stabilityunstable
MaintainerMarco Tlio Gontijo e Silva <marcot@riseup.net>

System.Debian.Binary

Description

This module provides functions to work with Debian binary packages.

Synopsis

Documentation

updatePackageSource

Arguments

:: FilePath

package, the path to a .deb file

-> IO ()
action
-> IO () 

Extracts package in /tmp/debian-binary, runs action and repacks package in /tmp/package.

withPackageSource

Arguments

:: FilePath

package, the path to a .deb file

-> IO ()
action
-> IO () 

Extracts package in /tmp/debian-binary and runs action.

packageNameSource

Arguments

:: FilePath
filename
-> String 

Extract the package name of a debian filename.