]> git.saurik.com Git - apt.git/blame - doc/examples/apt-ftparchive.conf
Build-depend on pkg-config
[apt.git] / doc / examples / apt-ftparchive.conf
CommitLineData
53cd7e2b
MV
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
5Dir {
6 ArchiveDir ".";
7 CacheDir ".";
8};
9
124e6916 10// Create Packages, Packages.gz and Packages.xz, remove/add as needed
53cd7e2b 11Default {
124e6916
DK
12 Packages::Compress ". gzip xz";
13 Sources::Compress ". gzip xz";
14 Contents::Compress ". gzip xz";
53cd7e2b
MV
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
21BinDirectory "pool/main" {
22 Packages "dists/sid/main/binary-i386/Packages";
168e1e4e 23 Sources "dists/sid/main/source/Sources";
3adddfa8 24 Contents "dists/sid/main/Contents-i386";
53cd7e2b
MV
25}
26
27// This is the same for the contrib section
28BinDirectory "pool/contrib" {
29 Packages "dists/sid/contrib/binary-i386/Packages";
168e1e4e 30 Sources "dists/sid/contrib/source/Sources";
3adddfa8 31 Contents "dists/sid/contrib/Contents-i386";
53cd7e2b
MV
32}
33
34// This is the same for the non-free section
35BinDirectory "pool/non-free" {
36 Packages "dists/sid/non-free/binary-i386/Packages";
168e1e4e 37 Sources "dists/sid/non-free/source/Sources";
3adddfa8 38 Contents "dists/sid/non-free/Contents-i386";
53cd7e2b
MV
39};
40
41// By default all Packages should have the extension ".deb"
42Default {
43 Packages {
44 Extensions ".deb";
45 };
46};