packages feed

cpuid-0.2.1: cpuid.cabal

Cabal-version:      >=1.2
Name:               cpuid
Version:            0.2.1
License:            GPL
License-file:       COPYING
Author:             Martin Grabmueller <martin@grabmueller.de>
Maintainer:         martin@grabmueller.de
Homepage:           http://code.haskell.org/cpuid
Category:           Foreign binding
Synopsis:           Binding for the cpuid machine instruction on x86 compatible
        processors
Description:	    This module provides the function 'cpuid' for accessing
	information about the currently running IA-32 processor.  Both a function
        for calling the 'cpuid' instruction directly, and some convenience functions
        for common uses are provided.  This package is only portable to IA-32
        machines.
Stability:          Experimental
Build-type:         Simple

Extra-source-files: README
                    tests/TestCpuid.hs

Library
  Build-depends:      base >= 4 && < 5
  Exposed-Modules:    System.Cpuid
  Extensions:         ForeignFunctionInterface
  C-sources:	    cbits/cpuid.c
  Include-dirs:       cbits
  Install-includes:   cpuid.h