Blame docker-builder-data/build/script/packet/freeglut-3.0.0.sh

69b66f
DEPS="cmake-3.6.2"
69b66f
69b66f
PK_DIRNAME="freeglut-3.0.0"
69b66f
PK_ARCHIVE="$PK_DIRNAME.tar.gz"
69b66f
PK_URL="http://prdownloads.sourceforge.net/freeglut/$PK_ARCHIVE?download"
69b66f
69b66f
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-default.sh
69b66f
source $INCLUDE_SCRIPT_DIR/inc-pkinstall-default.sh
69b66f
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
69b66f
69b66f
pkbuild() {
69b66f
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
69b66f
    
69b66f
	if ! check_packet_function $NAME build.cunfigure; then
69b66f
    	if ! cmake -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PACKET_DIR .; then
69b66f
    		return 1
69b66f
    	fi
69b66f
		set_done $NAME build.cunfigure
69b66f
    fi
69b66f
    
69b66f
    if ! make -j${THREADS}; then
69b66f
        return 1
69b66f
    fi
69b66f
}
69b66f