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.
25 lines
784 B
25 lines
784 B
name=p7zip
|
|
version=16.02
|
|
update_url="https://sourceforge.net/projects/$name/files/$name/"
|
|
update_names="/projects/$name/files/$name/$version/stats/timeline"
|
|
|
|
dlextract "https://sourceforge.net/projects/$name/files/$name/$version/${name}_${version}_src_all.tar.bz2" \
|
|
'a0128d661cfe7cc8c121e73519c54fbf'
|
|
header_end
|
|
|
|
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_bindir" \
|
|
DEST_SHARE="/$dir_prefix/$dir_libdir/$name" \
|
|
DEST_SHARE_DOC="/$dir_prefix/$dir_docdir/$name" \
|
|
DEST_MAN="/$dir_prefix/$dir_mandir"
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|