hsdns-1.4.1: hsdns.cabal
Name: hsdns
Version: 1.4.1
Author: Peter Simons <simons@cryp.to>,
Lutz Donnerhacke <lutz@iks-jena.de>
Григорий Холомьёв <omever@gmail.com>
Maintainer: Peter Simons <simons@cryp.to>
License: LGPL
License-File: COPYING
Homepage: http://cryp.to/hsdns/
Synopsis: Asynchronous DNS Resolver
Description: Asynchronous DNS Resolver; requires GNU ADNS to be installed.
Category: Foreign, Network
Build-Depends: base >=3.0.0.0 && <4.2.0.0, network, containers
Extensions: ForeignFunctionInterface, EmptyDataDecls
Extra-Libraries: adns
Includes: "adns.h", "errno.h"
Exposed-Modules: ADNS,
ADNS.Base,
ADNS.Endian,
ADNS.Resolver
GHC-Options: -Wall
Data-Files: README, prologue.txt
Build-Type: Simple
-- Building these executables doesn't work anymore with the latest
-- cabal version. The problem is that the file ADNS/Base.hs is no
-- longer generated into the source tree, but into the dist/
-- directory, where the example programs won't find it during
-- compilation.
--
-- To remedy the situation, we need either a really wild search
-- path so that ADNS/Base.hs is found in the build dir, or we need
-- separate cabal files for building the library and the example
-- programs (which would suck) or some other magic way I am
-- currently unaware of but that probably exists. Whatever.
--
-- Executable: adns-reverse-lookup
-- Hs-Source-Dirs: example, .
-- Main-Is: adns-reverse-lookup.hs
-- Extra-Libraries: adns
-- GHC-Options: -O -Wall -threaded
--
-- Executable: adns-test-and-traverse
-- Hs-Source-Dirs: example, .
-- Main-Is: adns-test-and-traverse.hs
-- Extra-Libraries: adns
-- GHC-Options: -O -Wall -threaded