apt-zip _unstable_ port information

Package: apt-zip
Version: 0.15
Revision: 2
Description: Update a non-networked computer using apt
License: GPL
Maintainer: None

# Dependencies:
Depends: apt
BuildDepends: docbook-utils

# Unpack Phase:
Source: mirror:debian:pool/main/a/%n/%n_%v.tar.gz
Source-MD5: 3df8b312a73ca55237818236d52c329c
SourceDirectory: %n-%v

# Patch Phase:
PatchScript: <<
perl -pi.bak -e "s;/usr/share;%p/share;" apt-zip-* common.sh.in apt-zip.sgml apt-zip.conf
perl -pi.bak -e "s;/etc/apt;%p/etc/apt;" common.sh.in apt-zip.sgml
<<

# Compile Phase:
GCC: 4.0
CompileScript: <<
docbook2man apt-zip.sgml
echo "nothing to compile"
<<

# Install Phase:
InstallScript: <<
install -d %i/bin %i/etc/apt %i/share/%n %i/share/%n/methods %i/share/man/man8

install -m755 %n-list %n-inst %i/bin
install -m755 methods/wget %i/share/%n/methods
install -m755 methods/lftp %i/share/%n/methods
install -m644 common.sh.in %i/share/%n
install -m644 %n.conf %i/etc/apt
install -m644 %n.8 %i/share/man/man8
ln -s %n.8 %i/share/man/man8/%n-list.8
ln -s %n.8 %i/share/man/man8/%n-inst.8
<<
DocFiles: TODO debian/copyright debian/changelog
ConfFiles: %p/etc/apt/%n.conf

# Additional Info
DescPackaging: <<
These scripts simplify the process of using dselect and apt on a non-networked
Debian box, using removable media like ZIP floppies. One generates a `fetch'
script (supporting backends such as wget and lftp, in a modular, extensible
way) to be run on a host with better connectivity, check space constraints of
your removable media, and then install the package on your Debian box.

Note on current version: space-checking is not done and spanning multiple disks
is not yet supported.
<<
Homepage: http://packages.debian.org/stable/source/apt-zip