wok-next view slitaz-toolchain/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 2f3aba6cc31e
children cd7906120828
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-toolchain"
4 VERSION="20180210"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz meta package to rebuild or install current toolchain"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.slitaz.org/"
11 # The goal here is to build and install SliTaz toolchain. We build the toolchain
12 # from SliTaz packages, on SliTaz and for SliTaz so in case of new and important
13 # toolchain upgrade we must build Binutils a first time, then GCC so it use the
14 # new Binutils. After we cook Glibc and then rebuild Binutils + GCC a second
15 # time so they are linked with the new main GNU libc. We usually also due a
16 # bootstrap by recooking slitaz-toolchain a second time so we are sure it can
17 # rebuild itself.
18 #
19 # SliTaz does one big toolchain by year just after the stable release, any change
20 # here or in the toolchain packages version must be discuss on the mailing list.
22 ver() { grep ^VERSION $WOK/$1/receipt | cut -d '"' -f2; }
24 compile_rules() {
25 echo 'Please use `cooker task up-toolchain`.'
27 mkdir -p $install/usr/share/doc/slitaz
28 cat > $install/usr/share/doc/slitaz/toolchain.txt <<EOT
29 SliTaz GNU/Linux toolchain
30 ================================================================================
32 Build date : $(date "+%F")
33 Architecture : $ARCH
34 Build system : $BUILD_SYSTEM
35 Host system : $HOST_SYSTEM
37 Packages:
39 * Binutils $(ver binutils)
40 * Linux $(ver linux)
41 * GCC $(ver gcc)
42 * Glibc $(ver glibc)
44 Toolchain documentation: http://doc.slitaz.org/en:cookbook:toolchain
46 ================================================================================
48 EOT
49 }
51 genpkg_rules() {
52 copy @std
53 DEPENDS="binutils linux-api-headers glibc-dev gcc make elfkickers"
54 }