Blame docker-builder-data/build/script/packet/glew-2.0.0.sh

1b5f3d
DEPS=""
1b5f3d
1b5f3d
PK_DIRNAME="glew-2.0.0"
e14835
PK_ARCHIVE="$PK_DIRNAME.tgz"
e14835
PK_URL="https://sourceforge.net/projects/glew/files/glew/2.0.0/$PK_ARCHIVE/download"
1b5f3d
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-default.sh
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
1b5f3d
1b5f3d
pkbuild() {
e14835
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
e14835
    
e14835
    if ! GLEW_PREFIX=$INSTALL_PACKET_DIR GLEW_DEST=$INSTALL_PACKET_DIR make -j${THREADS}; then
1b5f3d
        return 1
1b5f3d
    fi
1b5f3d
}
1b5f3d
1b5f3d
pkinstall() {
e14835
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
e14835
    if ! GLEW_PREFIX=$INSTALL_PACKET_DIR GLEW_DEST=$INSTALL_PACKET_DIR make install; then
1b5f3d
        return 1
1b5f3d
    fi
1b5f3d
}