mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-12 08:00:57 +02:00
Resolve "build-systems: fix issues in recipes of luarocks and 7z" Closes #365 See merge request Pmodules/src!377 (cherry picked from commit6a79b5ff59)fdfebe1cbuild-system: bugs in recipes fixed Co-authored-by: gsell <achim.gsell@psi.ch>
33 lines
596 B
Bash
Executable File
33 lines
596 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# https://www.gnu.org/software/findutils/
|
|
#
|
|
P=7z
|
|
V=${SEVENZ_VERSION:-24.05}
|
|
FNAME="$P-$V.tar.xz"
|
|
DOWNLOAD_URL="https://github.com/ip7z/7zip/releases/download/$V/7z${V//.}-src.tar.xz"
|
|
|
|
strip_components=0
|
|
#---
|
|
source "$(dirname "$0")/librecipes.bash"
|
|
|
|
#---
|
|
# configure
|
|
mkdir -p "${SRC_DIR}" && cd "$_" || exit ${PB_ERR_SYSTEM}
|
|
cd 'CPP/7zip/Bundles/Alone2'
|
|
|
|
#---
|
|
# compile & install
|
|
#make -j -f ../../cmpl_gcc.mak
|
|
make -j 5 -f makefile.gcc
|
|
cp _o/7zz "${PREFIX}/${UTILBIN_DIR}/sevenz"
|
|
|
|
#---
|
|
# post-install
|
|
|
|
#---
|
|
# Local Variables:
|
|
# mode: shell-script-mode
|
|
# sh-basic-offset: 8
|
|
# End:
|