move pemtrans compile to install script

This commit is contained in:
Mario Fetka 2024-04-20 13:39:37 +02:00
parent af389e8981
commit fde1fc9d0c

View File

@ -41,14 +41,15 @@ EXTRA_LIBS = -lresolv -lpthread
INCLUDES = -I../cryptlib-3.4.5 INCLUDES = -I../cryptlib-3.4.5
pemtrans: pemtrans.c pemtrans: pemtrans.c
gcc9 $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \ gcc $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \
-lcrypto -lssl -lcl $(EXTRA_LIBS) -lcrypto -lssl -lcl $(EXTRA_LIBS)
EOF EOF
pushd $MSTEMPDIR/pemtrans-master &>/dev/null pushd $MSTEMPDIR/pemtrans-master &>/dev/null
cp pemtrams ${MYSTIC_DIR}/ make &>/dev/null
cp pemtrans.1 ${MYSTIC_DIR}/docs/ cp pemtrams ${MYSTIC_DIR}/ &>/dev/null
cp README ${MYSTIC_DIR}/docs/pemtrans_README cp pemtrans.1 ${MYSTIC_DIR}/docs/ &>/dev/null
cp README ${MYSTIC_DIR}/docs/pemtrans_README &>/dev/null
popd &>/dev/null popd &>/dev/null
apt purge -y gcc g++ cpp &>/dev/null apt purge -y gcc g++ cpp &>/dev/null