Hi Sashank999
... The script looks amazing. ...
Thank you.
... It automates all things without human interactions. ...
Almost. The one thing you cannot automate is the Change-log: field of the .info file. That needs to be done manually. So if an
updated version of gpicview gets released, you would need to copy the last entry listed under Change-log: in the .info file:
~----- SNIP -----~
Source: https://downloads.sourceforge.net/lxde/gpicview-0.2.5.tar.xz
Change-log: 2020/03/28 Original release Version: 0.2.5
Current: 2020/03/28 Original release Version: 0.2.5
Update this section of the script from this:
Original-site: http://lxde.sourceforge.net/gpicview/
Change-log: $DATE Original release Version: $VERSION
Current: $DATE Original release Version: $VERSION
To this:
Original-site: http://lxde.sourceforge.net/gpicview/
Change-log: 2020/03/28 Original release Version: 0.2.5
Current: $DATE Original release Version: $VERSION
And the next time it gets updated, it might look like this:
Original-site: http://lxde.sourceforge.net/gpicview/
Change-log: 2020/03/28 Original release Version: 0.2.5
2020/06/03 Original release Version: 0.2.7
Current: $DATE Original release Version: $VERSION
This way there is always a list of when updates occurred.
... Any tips about what to do with the licenses for hcxtools, hcxdumptool, aircrack-ng ?
See the section of the script that says Copy the copyright file. It places the licensing file here:
/usr/local/share/doc/gpicview/COPYING
... And also, should I follow the flags mentioned in your script for my x86 TCL ?
In your script, x86 flags are in case i686 and I am assuming they are the flags for all x86 TCL PCs.
CFLAGS=" -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt"
# CXXFLAGS="g++ -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt -fno-exceptions -fno-rtti"
LDFLAGS="-Wl,-T/usr/local/lib/ldscripts/elf_i386.xbn"
Yes, those are the flags to use for all x86 processors. I commented out the CXXFLAGS= line because gpicview didn't use any
C++ code. Truth of the matter is, that really wasn't necessary. Leaving CXXFLAGS defined doesn't hurt anything.