{
    "name": "liba52",
    "config-opts": [ "--enable-shared", "--disable-static" ],
    "rm-configure": true,
    "cleanup": [ "/bin/*a52*" ],
    "sources": [
        {
            "type": "archive",
            "url": "http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz",
            "sha256": "a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33"
        },
        {
            "type": "patch",
            "path": "a52dec-0.7.4-rpath64.patch"
        },
        {
            "type": "patch",
            "path": "a52dec-configure-optflags.patch"
        },
        {
            "type": "patch",
            "path": "liba52-silence.patch"
        },
        {
            "type": "patch",
            "path": "liba52-prefer-pic.patch"
        },
        {
            "type":"script",
            "commands":[
                "autoreconf -fiv"
            ],
            "dest-filename":"autogen.sh"
        }
    ]
}
