prepare: git clone https://git.savannah.gnu.org/git/gzip.git/ cd gzip $(MAKE): ./configure --prefix=$prefix/usr --host=$LFS_TGT $(MAKE) CC="${CC:-cc} -static" install: $(MAKE) DESTDIR=$LFS install install -Dm755 pigz "$1/usr/bin/pigz" install -Dm755 unpigz "$1/usr/bin/unpigz" install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1" ln -sf pigz "$1/usr/bin/gzip" ln -sf pigz "$1/usr/bin/zcat" ln -sf unpigz "$1/usr/bin/gunzip" ln -sf pigz.1 "$1/usr/share/man/man1/gzip.1"