{
    "name": "lash",
    "rm-configure": true,
    "config-opts": [
        "--disable-static",
        "--disable-serv-inst",
        "CFLAGS=-D_GNU_SOURCE"
    ],
    "cleanup": [
        "/include",
        "/lib/pkgconfig",
        "*.la"
    ],
    "sources": [
        {
            "type": "archive",
            "url": "https://download.savannah.gnu.org/releases/lash/lash-0.5.4.tar.gz",
            "sha256": "105a7da84415c4725c6bcad28e70f23aeb4534f94fc80ca262b6a2cef2226c16"
        },
        {
            "type": "patch",
            "strip-components": 0,
            "paths": [
                "patches/lash-0.5.3-no-static-lib.patch",
                "patches/lash-configure.patch"
            ]
        },
        {
            "type": "patch",
            "paths": [
                "patches/lash-gcc47.patch",
                "patches/lash-linking.patch",
                "patches/lash-build.patch"
            ]
        },
        {
            "type": "script",
            "commands": [
                "autoreconf -fiv"
            ],
            "dest-filename": "autogen.sh"
        }
    ]
}
