Blame docker-builder-data/build/script/packet/boost-1.61.0.sh

e14835
DEPS=""
e14835
e14835
PK_DIRNAME="boost_1_61_0"
e14835
PK_ARCHIVE="$PK_DIRNAME.tar.bz2"
e14835
PK_URL="https://sourceforge.net/projects/boost/files/boost/1.61.0/$PK_ARCHIVE/download"
e14835
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-default.sh
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
e14835
ce0d6b
pkbuild() {
ce0d6b
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
ce0d6b
	if ! check_packet_function $NAME build.configure; then
ce0d6b
		./bootstrap.sh --prefix=$INSTALL_PACKET_DIR --without-libraries=python || return 1
ce0d6b
		set_done $NAME build.configure
ce0d6b
	fi
ce0d6b
	./b2 -j${THREADS} || return 1
ce0d6b
}
ce0d6b
e14835
pkinstall() {
ce0d6b
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
ce0d6b
    if ! ./b2 install; then
e14835
        return 1
e14835
    fi
e14835
}