Converted uppercase variables to lowercase variables in base/fftw
Insert CFLAGS into following build files since the CFLAGS set by bldpkg are not respected by the build systems of these packages:
-> giflib
-> git
-> libelf-compat
Discarded V=s and V=1 arguments from make command in base/{hdparm,hunspell,jam}
Discarded CPU architecture check and related builddist variable from base/gmp
Removed command to discard static library in base/libaio
Temporarily commented out sed command in base/libxml2
Removed --sysconfdir option in a lot of build files in base
Added preservestaticlibs option in base/argp-standalone
Fixed CFLAGS variable in base/{file,grep}
Fixed build options in base/gstreamer
Fixed LDFLAGS variable in base/less
Removed CFLAGS variable in base/libarchive
Multiple build option fixes in base/nasm
-> Added validatecompiler function to validate compilers using distcc, ccache and sccache
-> Fixed code inside preprunitservice function
-> Existence of /share/pkgconfig directory inside staging directory now causes an ERROR
-> Go easy on symlinks, don't rm -rf; rm -f will do just fine
-> improved code to discard .smlinuxwritetest file to check parent temporary directory
-> Miscellaneous code fixes
Undertook code cleanup in bldpkg based on suggestions from shellcheck binary
Shellcheck suggestions aside, changes to bldpkg include:
-> Updated TODO list
-> Added set -e again
-> Replaced single-letter variables in runtime function with more sensible variable names
-> Restored man page compression and linking code from earlier bldpkg commits
-> Fixed code to move pkgconfig files from $pkg/share to $pkg/lib
Changes to bldpkg:
-> Added additional variables to be more verbose when showing either errors, warnings or info messages
-> Optimized find command options in various places
-> Discarded makepkg function and moved its code inside mkfinalpkg function
-> Discarded removestaticlibs function.
-> Static libraries are now compulsorily discarded unless preservestaticlibs variable is set near the top of the build file
-> Several smaller fixes
Made following changes to bldpkg:
* Introduced makepkg function to remove dependency on external base/pkgtools/makepkg script
* Simplified code inside applypatch function
* Added pigz and plzip parallel compressors inside pkgext case/esac
* Miscellaneous fixes
Changes to bldpkg:
* Fixed indentation in help usage function
* Fixed if/else code
* Added a check to cause bldpkg to fail if build validation function fails
* Simplified code for validating custom cpu flags
* Miscellaneous fixes
* Replaced echo with cat for generating summary and fixed related code
* Added -o option for copying alternate build file
* Fixed identation for help usage
* Moved all code related to validating build files into a function 'validatebldfile'
* Use printf for colours
* Added miscellaneous supporting code and comments
* Added code to check if autobuildtemp is set before removing $tempfile
* Added wait argument to nc for probing distccd port
* Removed double quotes from various places
* Updated TODO
Changes to bldpkg:
-> Added code to validate hosts using netcat when distcc is enabled and also update DISTCC_HOSTS variable accordingly
-> Using subshell unnecessary; removed it from top and bottom of the file
-> Fixed wordings in help function
-> Simplified code for populating buildfile variable by discarding srcdirpath variable
-> Added required files to be checked when the build starts as an array
-> genchecksum function is now a variable
-> Added missing -j in customcputhreads variable; previously the value was ignored by MAKEFLAGS
-> Added missing '[ERROR]' word when validating build file
-> Added missing exit when auditd binary was not found
-> Added sleep when auditd log file exceeds certain lines
-> Added checks to exit build when sha512 checksums fail to match
-> Added checks and fixed code when working with patches
-> Discarded unnecessary double quotes in values inside validpkgextensions array
-> Fixed identation