move pemtrans compile to install script
This commit is contained in:
parent
af389e8981
commit
fde1fc9d0c
@ -41,14 +41,15 @@ EXTRA_LIBS = -lresolv -lpthread
|
||||
INCLUDES = -I../cryptlib-3.4.5
|
||||
|
||||
pemtrans: pemtrans.c
|
||||
gcc9 $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \
|
||||
gcc $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \
|
||||
-lcrypto -lssl -lcl $(EXTRA_LIBS)
|
||||
|
||||
EOF
|
||||
pushd $MSTEMPDIR/pemtrans-master &>/dev/null
|
||||
cp pemtrams ${MYSTIC_DIR}/
|
||||
cp pemtrans.1 ${MYSTIC_DIR}/docs/
|
||||
cp README ${MYSTIC_DIR}/docs/pemtrans_README
|
||||
make &>/dev/null
|
||||
cp pemtrams ${MYSTIC_DIR}/ &>/dev/null
|
||||
cp pemtrans.1 ${MYSTIC_DIR}/docs/ &>/dev/null
|
||||
cp README ${MYSTIC_DIR}/docs/pemtrans_README &>/dev/null
|
||||
popd &>/dev/null
|
||||
|
||||
apt purge -y gcc g++ cpp &>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user