wok-next view slitaz-toolchain/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-toolchain"
4 VERSION="20181205"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz meta package to rebuild or install current toolchain"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 # The goal here is to build and install SliTaz toolchain. We build the toolchain
13 # from SliTaz packages, on SliTaz and for SliTaz so in case of new and important
14 # toolchain upgrade we must build Binutils a first time, then GCC so it use the
15 # new Binutils. After we cook Glibc and then rebuild Binutils + GCC a second
16 # time so they are linked with the new main GNU libc. We usually also due a
17 # bootstrap by recooking slitaz-toolchain a second time so we are sure it can
18 # rebuild itself.
19 #
20 # SliTaz does one big toolchain by year just after the stable release, any change
21 # here or in the toolchain packages version must be discuss on the mailing list.
23 ver() { grep ^VERSION $WOK/$1/receipt | cut -d '"' -f2; }
25 compile_rules() {
26 echo 'Please use `cooker task up-toolchain`.'
28 mkdir -p $install/usr/share/doc/slitaz
29 cat > $install/usr/share/doc/slitaz/toolchain.txt <<EOT
30 SliTaz GNU/Linux toolchain
31 ================================================================================
33 Build date : $(date "+%F")
34 Architecture : $ARCH
35 Build system : $BUILD_SYSTEM
36 Host system : $HOST_SYSTEM
38 Packages:
40 * Binutils $(ver binutils)
41 * Linux $(ver linux)
42 * GCC $(ver gcc)
43 * Glibc $(ver glibc)
45 Toolchain documentation: http://doc.slitaz.org/en:cookbook:toolchain
47 ================================================================================
49 EOT
50 }
52 genpkg_rules() {
53 copy @std
54 DEPENDS="binutils linux-api-headers glibc-dev gcc make elfkickers"
55 }