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

ce0d6b
DEPS=""
ce0d6b
ce0d6b
PK_DIRNAME="synfig"
ce0d6b
PK_URL="https://github.com/synfig/$PK_DIRNAME.git"
ce0d6b
ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-git.sh
ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.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
ce0d6b
		./configure --prefix=$INSTALL_PACKET_DIR || 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
}