Blame env-builder-data/build/script/packet/synfigetl-master.sh

ce0d6b
DEPS=""
c35e3a
DEPS_NATIVE="libtool-2.4.6"
ce0d6b
ce0d6b
PK_DIRNAME="synfig"
ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
f26837
PK_GIT_CHECKOUT="origin/testing"
99b145
PK_LICENSE_FILES="ETL/AUTHORS ETL/README"
ce0d6b
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
ce0d6b
ce0d6b
pkbuild() {
5bc671
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME/ETL" || return 1
5bc671
    if ! check_packet_function $NAME build.configure; then
5bc671
        autoreconf --install --force || return 1
5bc671
        ./configure \
5bc671
         --host=$HOST \
5bc671
         --prefix=$INSTALL_PACKET_DIR \
5bc671
         --sysconfdir=$INSTALL_PACKET_DIR/etc \
5bc671
         $PK_CONFIGURE_OPTIONS \
5bc671
         || return 1
5bc671
        set_done $NAME build.configure
5bc671
    fi
5bc671
    make -j${THREADS} || return 1
ce0d6b
}
ce0d6b
ce0d6b
pkinstall() {
ce0d6b
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME/ETL"
ce0d6b
    if ! make install; then
ce0d6b
        return 1
ce0d6b
    fi
ce0d6b
}