usb-id-database-0.3.0.1: usb-id-database.cabal
name: usb-id-database
version: 0.3.0.1
cabal-version: >=1.6
build-type: Simple
stability: provisional
author: Roel van Dijk
maintainer: vandijk.roel@gmail.com
copyright: (c) 2009 Roel van Dijk
license: BSD3
license-file: LICENSE
category: System
synopsis: A database of USB identifiers
description:
Functions to find the names associated with numerical vendor and
product identifiers.
extra-source-files: example.hs
data-files: usb_dot_org_db.txt
, usb_id_repo_db.txt
flag example
description: Build an example program
default: False
flag profile-example
description: Enable profiling for the example program
default: False
library
build-depends: base >= 3 && < 4.2
, binary == 0.5.*
, bytestring == 0.9.*
, containers == 0.2.*
, download == 0.3.*
, parsimony >= 1 && < 1.1
ghc-options: -Wall
cpp-options: -DBUILD_WITH_CABAL
exposed-modules: System.USB.IDDB
, System.USB.IDDB.UsbDotOrg
, System.USB.IDDB.LinuxUsbIdRepo
other-modules: Paths_usb_id_database
, System.USB.IDDB.Base
, System.USB.IDDB.Misc
executable example
extensions: CPP
cpp-options: -DBUILD_WITH_CABAL
main-is: example.hs
if flag(example)
buildable: True
else
buildable: False
if flag(profile-example)
ghc-options: -Wall -prof -auto-all -caf-all -fforce-recomp
else
ghc-options: -Wall