You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
631 B
23 lines
631 B
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:
|
|
|