Blame docker-builder-data/build/script/packet/berkeleydb-5.3.28.sh

3b09af
DEPS=""
3b09af
3b09af
PK_DIRNAME="db-5.3.28/build_unix"
3b09af
PK_ARCHIVE="db-5.3.28.tar.gz"
3b09af
PK_URL="http://download.oracle.com/berkeley-db/$PK_ARCHIVE"
3b09af
3b09af
source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh
3b09af
3b09af
pkbuild() {
3b09af
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
3b09af
    if ! check_packet_function $NAME build.cunfigure; then
3b09af
        CFLAGS="$PK_CFLAGS $CFLAGS" CPPFLAGS="$PK_CPPFLAGS $CPPFLAGS" \
3b09af
        ../dist/configure \
3b09af
         $PK_CONFIGURE_OPTIONS_DEFAULT \
3b09af
         $PK_CONFIGURE_OPTIONS \
3b09af
         || return 1
3b09af
        set_done $NAME build.cunfigure
3b09af
    fi
3b09af
    
3b09af
    if ! CFLAGS="$PK_CFLAGS $CFLAGS" CPPFLAGS="$PK_CPPFLAGS $CPPFLAGS" \
3b09af
     make -j${THREADS}; then
3b09af
        return 1
3b09af
    fi
3b09af
}