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"
980907
PK_GIT_OPTIONS="--branch testing"
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
1d4d1c
		./configure \
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
}