Blame docker-builder-data/build/script/packet/python3pyaudio-master.sh

369e6c
DEPS="python-3.6.0 portaudio-19.6.0"
369e6c
369e6c
PK_DIRNAME="pyaudio"
369e6c
PK_URL="https://people.csail.mit.edu/hubert/git/$PK_DIRNAME.git"
f26837
PK_GIT_CHECKOUT="tags/v0.2.11"
99b145
PK_LICENSE_FILES="README"
369e6c
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
99b145
99b145
pkbuild() {
99b145
    return 0
99b145
}
369e6c
369e6c
pkinstall() {
369e6c
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
369e6c
    mkdir -p $INSTALL_PACKET_DIR/lib/python3.6/site-packages
369e6c
    PYTHONHOME=$ENVDEPS_PACKET_DIR \
369e6c
        PYTHONPATH=$INSTALL_PACKET_DIR/lib/python3.6/site-packages:$PYTHONPATH \
369e6c
        python3 \
369e6c
        setup.py \
369e6c
        install \
369e6c
        --prefix=$INSTALL_PACKET_DIR \
369e6c
        || return 1
369e6c
}