070701009C6E7D000041ED0000000000000000000000024F4AC39900000000000000080000000600000000000000000000000200000000.070701009C6E7E000081A40000000000000000000000014F4AC39900000D81000000080000000600000000000000000000000800000000receipt# SliTaz package receipt. PACKED_SIZE="16.0K" UNPACKED_SIZE="36.0K" PACKAGE="slitaz-toolchain" VERSION="4.0" CATEGORY="meta" SHORT_DESC="SliTaz meta package to rebuild or install current toolchain." MAINTAINER="pankso@slitaz.org" WEB_SITE="http://www.slitaz.org/" DEPENDS="binutils linux-api-headers glibc-dev gcc make elfkickers" # The goal here is to build and install SliTaz toolchain. We build the toolchain # from SliTaz packages, on SliTaz and for SliTaz so in case of new and important # toolchain upgrade we must build Binutils a first time, then GCC so it use the # new Binutils. After we cook Glibc and then rebuild Binutils + GCC a second # time so they are linked with the new main GNU libc. We usually also due a # bootstrap by recooking slitaz-toolchain a second time so we are sure it can # rebuild itself. # # SliTaz does one big toolchain by year just after the stable release, any change # here or in the toolchain packages version must be discuss on the mailing list. # Rules to configure and make the package. compile_rules() { [ -x /usr/bin/cook ] || return 0 tmplog=$LOGS/$PACKAGE.tmplog echo "Cook: $PACKAGE $VERSION" > $tmplog separator >> $tmplog cat >> $tmplog << EOT Cook toolchain : started $(date "+%Y-%m-%d %H:%M") Architecture : $ARCH Build system : $BUILD_SYSTEM Host system : $HOST_SYSTEM EOT # 1. binutils (first pass) echo "cook: binutils first pass: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook binutils --install # 2. gcc (first pass) echo "cook: GCC first pass: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook gcc --install --first-pass cook gcc-lib-base --install # 3. linux-api-headers echo "cook: linux API headers: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook linux-api-headers --install # 4. glibc for i in glibc glibc-base glibc-extra-samba glibc-locale glibc-dev do echo "cook: $i: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook $i --install done # 5. binutils (final) echo "cook: binutils final: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook binutils --install # 6. gcc (final) echo "cook: GCC final: $(date '+%Y-%m-%d %H:%M')" >> $tmplog for i in gcc gcc-lib-base libobjc libgomp do echo "cook: $i: $(date '+%Y-%m-%d %H:%M')" >> $tmplog cook $i --install done cook libgfortran cook gfortran separator >> $tmplog # GCC info in toolchain.log echo -e "\nGCC compiler information" >> $tmplog separator >> $tmplog gcc -v 2>> $tmplog # All packages cooked got ther own log so we dont keep them. separator >> $tmplog && echo "" >> $tmplog mv -f $tmplog $LOGS/$PACKAGE.log } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { binutils=$(grep ^VERSION $WOK/binutils/receipt | cut -d '"' -f 2) linux=$(grep ^VERSION $WOK/linux/receipt | cut -d '"' -f 2) gcc=$(grep ^VERSION $WOK/gcc/receipt | cut -d '"' -f 2) glibc=$(grep ^VERSION $WOK/glibc/receipt | cut -d '"' -f 2) mkdir -p $fs/usr/share/doc/slitaz cat > $fs/usr/share/doc/slitaz/toolchain.txt << EOT SliTaz GNU/Linux toolchain ================================================================================ Build date : $(date "+%Y-%m-%d") Architecture : $ARCH Build system : $BUILD_SYSTEM Host system : $HOST_SYSTEM Packages: * Binutils $binutils * Linux API headers $linux * GCC $gcc * Glibc $glibc Toolchain documentation: http://doc.slitaz.org/en:cookbook:toolchain ================================================================================ EOT } 070701009C6E85000081A40000000000000000000000014F4AC39900000046000000080000000600000000000000000000000700000000md5sum78c20d78ed111bfc398f6adf04825d26 /usr/share/doc/slitaz/toolchain.txt 070701009C6E86000081A40000000000000000000000014F4AC39900000024000000080000000600000000000000000000000B00000000files.list/usr/share/doc/slitaz/toolchain.txt 070701009C6E87000081A40000000000000000000000014F4AC39900000175000000080000000600000000000000000000000D00000000fs.cpio.lzma] c!}yF >/c5<5T%+2'HG\٬E3MGɹy'0r&O0pKz} e AL]'BJ3q¡d!n5h/o> 07070100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!