[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/gzip/gzip.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2003 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] The zip compression utility [T] gzip (GNU zip) is a compression utility designed to be a replacement [T] for 'compress'. Its main advantages over compress are much better [T] compression and freedom from patented algorithms. The GNU Project [T] uses it as the standard compression program for its system. [T] [T] gzip currently uses by default the LZ77 algorithm used in zip 1.9 (the [T] portable pkzip compatible archiver). The gzip format was however [T] designed to accommodate several compression algorithms. [U] https://www.gnu.org/software/gzip/ [A] Jean-loup Gailly [M] Rene Rebe [C] base/tool [F] CROSS DIETLIBC [L] GPL [S] Stable [V] 1.14 [P] X 0-2--5---9 102.040 [CV-URL] http://ftp.gnu.org/gnu/gzip/ [D] 3b3e2f956ac3d248b1dfafd51641763edae0c4a34155ea42a411920c gzip-1.14.tar.xz http://ftp.gnu.org/gnu/gzip/ var_append SYSGCC_WRAPPER_INSERT ' ' -std=gnu23 var_append GCC_WRAPPER_INSERT ' ' -std=gnu23 pm_move_to_bin() { # TODO: better check $prefix if ! atstage toolchain; then # move gzip to /bin and create gunzip/zcat links mv -vf $root/usr/bin/gzip $root/bin/ rm -f $root/bin/{gunzip,zcat} $root/usr/bin/{gunzip,zcat} ln $root/bin/gzip $root/bin/gunzip ln $root/bin/gzip $root/bin/zcat # correct the path used in the gzexe script sed -i 's,"/usr/bin"/gzip,"/bin"/gzip,g' $root/usr/bin/gzexe fi } hook_add postmake 5 "pm_move_to_bin"