add lha build
This commit is contained in:
parent
c2c83c2e6f
commit
dfa97845fb
@ -1,12 +1,14 @@
|
||||
MYSTIC_VER="112a48"
|
||||
#UPSTREAM="downloads"
|
||||
UPSTREAM="downloads/prealpha"
|
||||
MYSTIC_VER="112a49"
|
||||
|
||||
echo -e "Plz set the install dir the same as bevor"
|
||||
echo -e "${DGN}Install Mystic to: ${BGN}$MYSTIC_DIR${CL}"
|
||||
read -p "Press enter to continue"
|
||||
|
||||
msg_info "Starting ${APP} Installation"
|
||||
apt install -y unrar-free python3 python2 libpython2.7 zip rar &>/dev/null
|
||||
wget -N http://www.mysticbbs.com/downloads/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||
apt install -y python3 python2 libpython2.7 arj zip rar unrar &>/dev/null
|
||||
wget -N http://www.mysticbbs.com/${UPSTREAM}/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||
rm -rf $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
mkdir -p $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
pushd $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||
@ -60,3 +62,16 @@ sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" $MSTEMPDIR/mystic/mystic/mis.service > /
|
||||
systemctl daemon-reload
|
||||
msg_ok "Installing ${APP} Systemd Start/Stop Scripts and Service File"
|
||||
|
||||
msg_info "Setting up ${APP} Official lha (be patient compiling lha)"
|
||||
apt install -y build-essential binutils make csh g++ sed gawk autoconf automake autotools-dev &>/dev/null
|
||||
wget -N https://github.com/jca02266/lha/archive/refs/tags/release-20211125.zip -O $MSTEMPDIR/lha-20211125.zip &>/dev/null
|
||||
rm -rf $MSTEMPDIR/lha-release-20211125 &>/dev/null
|
||||
unzip ../lha-20211125.zip &>/dev/null
|
||||
pushd $MSTEMPDIR/lha-release-20211125 &>/dev/null
|
||||
autoreconf &>/dev/null
|
||||
automake --add-missing &>/dev/null
|
||||
./configure &>/dev/null
|
||||
make &>/dev/null
|
||||
make install &>/dev/null
|
||||
popd &>/dev/null
|
||||
msg_ok "Setting up ${APP} Official lha (be patient compiling lha)"
|
||||
|
Loading…
Reference in New Issue
Block a user