guowenxue
2021-08-17 d634817310a7186e9a84a65bb135d850d0adee17
3rdparty/local/libgpiod/build.sh
@@ -1,13 +1,13 @@
#!/bin/bash
#+--------------------------------------------------------------------------------------------
#|Description:  This shell script used download and compile MQTT C library mosquitto for ARM
#|Description:  This shell script used download and compile libgpiod 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
LYFTP_SRC=ftp://master.iot-yun.club/src/
function msg_banner()
@@ -53,9 +53,9 @@
    tar -xzf ${SRC_NAME}.${PACK_SUFIX}
    cd ${SRC_NAME}
    ./autogen.sh && ./configure --enable-tools
    ./autogen.sh && sudo ./configure --prefix=${PREFIX_PATH} --enable-tools
    make && make install
    make && sudo make install
    
    cd -
}