Blame docker-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"
980907
PK_GIT_OPTIONS="--branch testing"
99b145
PK_LICENSE_FILES="ETL/AUTHORS ETL/README"
ce0d6b
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
ce0d6b
ce0d6b
pkbuild() {
ce0d6b
	cd "$BUILD_PACKET_DIR/$PK_DIRNAME/ETL" || return 1
ce0d6b
	if ! check_packet_function $NAME build.configure; then
ce0d6b
		autoreconf --install --force || return 1
1d4d1c
		./configure \
efc424
		 --host=$HOST \
1d4d1c
		 --prefix=$INSTALL_PACKET_DIR \
1d4d1c
		 --sysconfdir=$INSTALL_PACKET_DIR/etc \
1d4d1c
		 || return 1
ce0d6b
		set_done $NAME build.configure
ce0d6b
	fi
ce0d6b
	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
}