3b3dcde0907b9dc30c4b5502671cab162da7b2f7
[packages/time.git] / time.cabal
1 Name:           time
2 Version:        1.1.2.2
3 Stability:      stable
4 License:        BSD3
5 License-File:   LICENSE
6 Author:         Ashley Yakeley
7 Maintainer:     <ashley@semantic.org>
8 Homepage:       http://semantic.org/TimeLib/
9 Synopsis:        A time library
10 Description: A time library
11 Category:   System
12 Build-Type:     Custom
13 Cabal-Version:  >=1.2
14 x-follows-version-policy:
15
16 Extra-Source-Files:
17         aclocal.m4 configure.ac configure
18         include/HsTime.h include/HsTimeConfig.h.in
19 Extra-Tmp-Files:
20         config.log config.status autom4te.cache
21         include/HsTimeConfig.h
22
23 Flag split-base
24
25 Library {
26     Build-Depends: base >= 2
27     if flag(split-base)
28        Build-Depends: base >= 3, old-locale
29     else
30        Build-Depends: base < 3
31     if os(windows)
32         Build-Depends: Win32
33     Exposed-Modules:
34         Data.Time.Calendar,
35         Data.Time.Calendar.MonthDay,
36         Data.Time.Calendar.OrdinalDate,
37         Data.Time.Calendar.WeekDate,
38         Data.Time.Calendar.Julian,
39         Data.Time.Calendar.Easter,
40         Data.Time.Clock,
41         Data.Time.Clock.POSIX,
42         Data.Time.Clock.TAI,
43         Data.Time.LocalTime,
44         Data.Time.Format,
45         Data.Time
46     Extensions: ForeignFunctionInterface, CPP
47     C-Sources:  cbits/HsTime.c
48     Other-Modules:
49         Data.Time.Calendar.Private,
50         Data.Time.Calendar.Days,
51         Data.Time.Calendar.Gregorian,
52         Data.Time.Calendar.JulianYearDay,
53         Data.Time.Clock.Scale,
54         Data.Time.Clock.UTC,
55         Data.Time.Clock.CTimeval,
56         Data.Time.Clock.UTCDiff,
57         Data.Time.LocalTime.TimeZone,
58         Data.Time.LocalTime.TimeOfDay,
59         Data.Time.LocalTime.LocalTime,
60         Data.Time.Format.Parse
61     Include-Dirs:       include
62     Install-Includes:
63         HsTime.h HsTimeConfig.h
64 }
65