f5fa5e995f9526169e0f537ad103858f03d2001e
[git-tools-moved-to-github.git] / update-archive / apt-ftparchive.conf.in
1 // $Id: apt-ftparchive.conf.in,v 1.2 2008-10-20 10:24:15 adam Exp $
2 // This config is for us with the pool-structure for the packages, thus we
3 // don't use a Tree Section in here
4
5 // The debian archive should be in the current working dir
6 Dir {
7         ArchiveDir ".";
8         OverrideDir ".";
9         CacheDir "tmp";
10 };
11
12 // Create Packages, Packages.gz and Packages.bz2, remove what you don't need
13 Default {
14         Packages::Compress ". gzip bzip2";
15         Sources::Compress ". gzip bzip2";
16         Contents::Compress ". gzip bzip2";
17 };
18
19 // Includes the main section. You can structure the directory tree under
20 // ./pool/main any way you like, apt-ftparchive will take any deb (and
21 // source package) it can find. This creates a Packages a Sources and a
22 // Contents file for these in the main section of the sid release
23 // BinDirectory "pool/@dist@" {
24 //      Packages "dists/@dist@/main/binary-i386/Packages";
25 //      Sources "dists/@dist@/main/source/Sources";
26 //      Contents "dists/@dist@/Contents-i386";
27 // };
28
29 TreeDefault {
30         Directory "pool/$(DIST)/$(SECTION)/$(ARCH)";
31         SrcDirectory "pool/$(DIST)/$(SECTION)/source";
32         Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages";
33         Sources "$(DIST)/$(SECTION)/source/Sources";
34         Contents "$(DIST)/Contents-$(ARCH)";
35 };
36
37 Tree "dists/@dist@" {
38         Sections "@sections@";
39         Architectures "source @architectures@";
40         SrcOverride "override";
41 };
42 // By default all Packages should have the extension ".deb"
43 //Default {
44 //      Packages {
45 //              Extensions ".deb";
46 //      };
47 //};
48