]> git.saurik.com Git - apt.git/blob - doc/examples/apt-ftparchive.conf
fix testcase framework to test correctly for virtual packages
[apt.git] / doc / examples / apt-ftparchive.conf
1 // This config is for use with the pool-structure for the packages, thus we
2 // don't use a Tree Section in here
3
4 // The debian archive should be in the current working dir
5 Dir {
6 ArchiveDir ".";
7 CacheDir ".";
8 };
9
10 // Create Packages, Packages.gz and Packages.bz2, remove what you don't need
11 Default {
12 Packages::Compress ". gzip bzip2";
13 Sources::Compress ". gzip bzip2";
14 Contents::Compress ". gzip bzip2";
15 };
16
17 // Includes the main section. You can structure the directory tree under
18 // ./pool/main any way you like, apt-ftparchive will take any deb (and
19 // source package) it can find. This creates a Packages a Sources and a
20 // Contents file for these in the main section of the sid release
21 BinDirectory "pool/main" {
22 Packages "dists/sid/main/binary-i386/Packages";
23 Sources "dists/sid/main/source/Sources";
24 Contents "dists/sid/Contents-i386";
25 }
26
27 // This is the same for the contrib section
28 BinDirectory "pool/contrib" {
29 Packages "dists/sid/contrib/binary-i386/Packages";
30 Sources "dists/sid/contrib/source/Sources";
31 Contents "dists/sid/Contents-i386";
32 }
33
34 // This is the same for the non-free section
35 BinDirectory "pool/non-free" {
36 Packages "dists/sid/non-free/binary-i386/Packages";
37 Sources "dists/sid/non-free/source/Sources";
38 Contents "dists/sid/Contents-i386";
39 };
40
41 // By default all Packages should have the extension ".deb"
42 Default {
43 Packages {
44 Extensions ".deb";
45 };
46 };