dpkg-awk stable port information

Package: dpkg-awk
Version: 1.0.1
Revision: 2
License: GPL
Maintainer: Ben Hines
Description: Awk script to scan dpkg database
Source: mirror:debian:pool/main/d/%n/%n_%v.tar.gz
Source-MD5: 04500e4a1d5579b1b395eb21428dd143
SourceDirectory: %n-0.9
Depends: gawk
PatchScript: <<
perl -pi.bak -e 's|/usr/lib|%p/lib|' dpkg-awk
perl -pi.bak -e 's|/var|%p/var|' dpkg-awk dpkg-awk.lib dpkg-awk.1
<<
CompileScript:<<
#!/bin/sh -ev
echo None
<<
InstallScript:<<
mkdir -p %i/bin
mkdir -p %i/lib/awk
mkdir -p %i/share/man/man1
/usr/bin/install dpkg-awk %i/bin
/usr/bin/install dpkg-awk.1 %i/share/man/man1
/usr/bin/install dpkg-awk.lib %i/lib/awk
/usr/bin/install getlong.awk %i/lib/awk
<<
DocFiles: debian/changelog debian/copyright
DescDetail: <<
This script can parse the dpkg database files. It can do regular
expressions on the fields, and only get what you want. It can also be
made to output certain fields. As an added bonus, there is an option to
sort the output.

will output
all installed packages, with only the listed fields. -f=/var/lib/dpkg/available "Package:^[aA].*" -- Package Version> will
output all available packages that start with the letter "A."
<<
Homepage: http://packages.debian.org/stable/devel/dpkg-awk.html

dpkg-awk _unstable_ port information

Package: dpkg-awk
Version: 1.0.1
Revision: 2
License: GPL
Maintainer: Ben Hines
Description: Awk script to scan dpkg database
Source: mirror:debian:pool/main/d/%n/%n_%v.tar.gz
Source-MD5: 04500e4a1d5579b1b395eb21428dd143
SourceDirectory: %n-0.9
Depends: gawk
PatchScript: <<
perl -pi.bak -e 's|/usr/lib|%p/lib|' dpkg-awk
perl -pi.bak -e 's|/var|%p/var|' dpkg-awk dpkg-awk.lib dpkg-awk.1
<<
CompileScript:<<
#!/bin/sh -ev
echo None
<<
InstallScript:<<
mkdir -p %i/bin
mkdir -p %i/lib/awk
mkdir -p %i/share/man/man1
/usr/bin/install dpkg-awk %i/bin
/usr/bin/install dpkg-awk.1 %i/share/man/man1
/usr/bin/install dpkg-awk.lib %i/lib/awk
/usr/bin/install getlong.awk %i/lib/awk
<<
DocFiles: debian/changelog debian/copyright
DescDetail: <<
This script can parse the dpkg database files. It can do regular
expressions on the fields, and only get what you want. It can also be
made to output certain fields. As an added bonus, there is an option to
sort the output.

will output
all installed packages, with only the listed fields. -f=/var/lib/dpkg/available "Package:^[aA].*" -- Package Version> will
output all available packages that start with the letter "A."
<<
Homepage: http://packages.debian.org/stable/devel/dpkg-awk.html