| | |
| | | #!/bin/bash |
| | | |
| | | #+-------------------------------------------------------------------------------------------- |
| | | #|Description: This shell script used download and compile libevent for ARM |
| | | #|Description: This shell script used download and compile libevent for RaspberryPi |
| | | #| Author: GuoWenxue <guowenxue@gmail.com> |
| | | #| ChangeLog: |
| | | #| 1, Initialize 1.0.0 on 2011.04.12 |
| | | #| 1, Initialize 1.0.0 on 2021.04.12 |
| | | #+-------------------------------------------------------------------------------------------- |
| | | |
| | | PREFIX_PATH=/usr |
| | |
| | | fi |
| | | |
| | | tar -xzf ${SRC_NAME}.${PACK_SUFIX} |
| | | check_result "ERROR: decompress ${SRC_NAME} failure" |
| | | |
| | | cd ${SRC_NAME} |
| | | |
| | | ./configure --prefix=${PREFIX_PATH} --enable-thread-support --enable-openssl --enable-function-sections |