Compare commits

..

2 Commits

Author SHA1 Message Date
Mario Fetka
5ee2fb838b move pemtrans compile to install script 2024-04-20 13:40:04 +02:00
Mario Fetka
fde1fc9d0c move pemtrans compile to install script 2024-04-20 13:39:37 +02:00

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