{
    "name": "smpeg",
    "config-opts": ["--disable-static"],
    "cleanup": [
        "/bin",
        "/man",
        "/include",
        "/share/aclocal",
        "/share/man",
        "*.la",
        "*.a"
    ],
    "rm-configure": true,
    "sources": [
        {
            "type": "archive",
            "url": "http://http.debian.net/debian/pool/main/s/smpeg/smpeg_0.4.5+cvs20030824.orig.tar.gz",
            "sha256": "1276ea797dd9fde8a12dd3f33f180153922544c28ca9fc7b477c018876be1916"
        },
        {
            "type": "shell",
            "commands": [
                "sed -i '/^## libtool.m4/,/^#####/d' acinclude.m4"
            ]
        },
        {
            "type": "script",
            "dest-filename": "autogen.sh",
            "commands": [
                "AUTOMAKE=\"automake --foreign --add-missing --force-missing\" autoreconf -vfi"
            ]
        },
        {
            "type": "patch",
            "path": "smpeg-am-prog-as.patch"
        },
        {
            "type": "patch",
            "path": "smpeg-export-mpegaudio-class.patch"
        },
        {
            "type": "patch",
            "path": "smpeg-no-gtk.patch"
        },
        {
            "type": "patch",
            "path": "smpeg-gcc6.patch"
        }
    ]
}
