Blame docker-builder-data/build/script/packet/theora-1.1.1.sh

ce0d6b
DEPS="ogg-1.3.2"
ce0d6b
ce0d6b
PK_DIRNAME="libtheora-1.1.1"
ce0d6b
PK_ARCHIVE="$PK_DIRNAME.tar.bz2"
ce0d6b
PK_URL="http://downloads.xiph.org/releases/theora/$PK_ARCHIVE"
ce0d6b
3b09af
PK_CONFIGURE_OPTIONS="--disable-examples"
3b09af
ce0d6b
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
        cp --remove-destination "$UNPACK_PACKET_DIR/$PK_DIRNAME/configure" .
3b09af
        patch configure "$FILES_PACKET_DIR/configure.patch"
3b09af
        CFLAGS="$PK_CFLAGS $CFLAGS" CPPFLAGS="$PK_CPPFLAGS $CPPFLAGS" \
3b09af
        ./configure \
3b09af
         $PK_CONFIGURE_OPTIONS_DEFAULT \
3b09af
         $PK_CONFIGURE_OPTIONS \
3b09af
         || return 1
3b09af
        set_done $NAME build.cunfigure
3b09af
    fi
3b09af
    if ! CFLAGS="$PK_CFLAGS $CFLAGS" CPPFLAGS="$PK_CPPFLAGS $CPPFLAGS" \
3b09af
     make -j${THREADS}; then
3b09af
        return 1
3b09af
    fi
3b09af
}