{
    "name": "SDL_mixer",
    "config-opts": ["--disable-static"],
    "cleanup": [
        "/include",
        "/lib/pkgconfig",
        "/lib/*.la"
    ],
    "rm-configure": true,
    "sources": [
        {
            "type": "archive",
            "url": "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz",
            "sha256": "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
        },
        {
            "type": "script",
            "dest-filename": "autogen.sh",
            "commands": [
                "rm acinclude/libtool.m4",
                "rm acinclude/lt*",
                "AUTOMAKE=\"automake --foreign\" autoreconf -vfi -I acinclude",
                "cp -p /usr/share/automake-*/config.{sub,guess} build-scripts"
            ]
        }
    ]
}
