5 ARCHITECTURES="all i386 amd64 powerpc"
7 if [ -e .build_archive.conf ]; then
11 if [ ! -e Release ]; then
15 Architectures: ${ARCHITECTURES}
18 apt-ftparchive -qq --db apt_ftparchive.db --contents packages . > Packages;
19 apt-ftparchive -qq --db apt_ftparchive.db sources . > Sources;
20 apt-ftparchive -qq --db apt_ftparchive.db contents . > Contents;
21 apt-ftparchive -qq --db apt_ftparchive.db \
22 -o APT::FTPArchive::Release::Origin="$ORIGIN" \
23 -o APT::FTPArchive::Release::Label="$LABEL" \
24 -o APT::FTPArchive::Release::Architectures="$ARCHITECTURES" \
27 for file in Sources Packages Contents; do
28 gzip -c $file > ${file}.gz
29 bzip2 -c $file > ${file}.bz2