{
    "name": "Ldns",
    "description": "DNS library written in C",
    "url": "https://nlnetlabs.nl/downloads/ldns/ldns-1.7.0.tar.gz",
    "mirror": null,
    "homepage": "https://nlnetlabs.nl/projects/ldns/",
    "depends": [
        {
            "depend": "swig",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = %W[",
        "--prefix=#{prefix}",
        "--with-drill",
        "--with-examples",
        "--with-ssl=#{Formula[\"openssl\"].opt_prefix}",
        "--with-pyldns",
        "PYTHON_SITE_PKG=#{lib}/python2.7/site-packages",
        "--disable-dane-verify",
        "]",
        "system \"./configure\", *args",
        "inreplace \"Makefile\" do |s|",
        "s.change_make_var! \"PYTHON_LDFLAGS\", \"-undefined dynamic_lookup\"",
        "s.gsub! /(\\$\\(PYTHON_LDFLAGS\\).*) -no-undefined/, \"\\\\1\""
    ],
    "version": "1.7.0",
    "file": "ldns.rb"
}