cookutils diff cooklinux @ rev 1080

lighttpd/index.cgi: add Repology badges
Use variable $REPOLOGY in the receipts when our package names don't match Repology's metapackages names.
For example, in "gtk+" receipt specify "gtk2"; and in "gtk+3" receipt - "gtk3".
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 10 10:30:03 2018 +0300 (2018-07-10)
parents 9611369825b9
children
line diff
     1.1 --- a/cooklinux	Fri Feb 17 00:58:43 2017 +0100
     1.2 +++ b/cooklinux	Tue Jul 10 10:30:03 2018 +0300
     1.3 @@ -4,7 +4,7 @@
     1.4  # No patches, aufs and co, keep it simple. The goal is to let users build
     1.5  # a custom and optimized kernel in a few commands
     1.6  #
     1.7 -# Copyright (C) 2014-15 SliTaz GNU/Linux - BSD License
     1.8 +# Copyright (C) 2014-17 SliTaz GNU/Linux - BSD License
     1.9  #
    1.10  # Author: Christophe Lincoln <pankso@slitaz.org>
    1.11  #
    1.12 @@ -33,6 +33,7 @@
    1.13    --mrproper     Remove all generated files + config + backup files
    1.14    --defconfig    New config with default from ARCH supplied defconfig
    1.15    --tazconfig    New config using current SliTaz /proc/config.gz
    1.16 +  --allno        New minimal config answering no to everything
    1.17    --localmod     Update config removing all unloaded modules
    1.18    --config       Update current config with a text based front-end
    1.19    --menuconfig   Update current config with a menu based program
    1.20 @@ -90,7 +91,7 @@
    1.21  # Install needed packages to compile.
    1.22  for pkg in slitaz-toolchain pkg-config perl xz lzma patch tar bc flex
    1.23  do
    1.24 -	check_pkg $pkg
    1.25 +	check_pkg ${pkg}
    1.26  done
    1.27  
    1.28  # Get the source and extract tarball.
    1.29 @@ -129,6 +130,11 @@
    1.30  	make defconfig
    1.31  fi
    1.32  
    1.33 +# Create a minimal config file.
    1.34 +if [ -n "$allno" ]; then
    1.35 +	make allnoconfig
    1.36 +fi
    1.37 +
    1.38  # Update config and wipe out unloaded modules.
    1.39  if [ -n "$localmod" ]; then
    1.40  	make localmodconfig