#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2015-2016, 2026 InterGenJLU
#
# giflib 5.2.2 — GIF image library
# BLFS 13.0

configure() {
    set -e
    # Pre-place the logo so the Makefile doesn't need ImageMagick's convert
    cp pic/gifgrid.gif doc/giflib-logo.gif
}

build() {
    set -e
    make  -j${IGOS_JOBS}
}

do_install() {
    set -e
    make PREFIX=/usr DESTDIR="$DESTDIR" install
}
