name=p7zip version=16.02 dlextract "https://sourceforge.net/projects/$name/files/$name/$version/${name}_${version}_src_all.tar.bz2" \ 'a0128d661cfe7cc8c121e73519c54fbf' _ cd "${name}_$version" if [ "$(uname -m)" = "x86_64" ]; then cp makefile.linux_amd64_asm makefile.machine fi make all3 OPTFLAGS="$CFLAGS" make install \ DEST_DIR="$dir_install" \ DEST_HOME="/$dir_prefix" \ DEST_BIN="/$dir_prefix/$dir_bin" \ DEST_SHARE="/$dir_prefix/$dir_lib/$name" \ DEST_SHARE_DOC="/$dir_prefix/$dir_doc/$name" \ DEST_MAN="/$dir_prefix/$dir_man" # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: