Add "bug-reports" and "source-repository" info to the Cabal file
authorIan Lynagh <igloo@earth.li>
Wed, 21 Jan 2009 18:25:35 +0000 (18:25 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 21 Jan 2009 18:25:35 +0000 (18:25 +0000)
Also switched to the modern Cabal file format

old-time.cabal

index 89df5e0..8c77c49 100644 (file)
@@ -3,21 +3,13 @@ version:      1.0.0.1
 license:       BSD3
 license-file:  LICENSE
 maintainer:    libraries@haskell.org
+bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/old-time
 synopsis:      Time library
 category:      System
 description:
        This package provides the old time library.
     For new code, the new time library is recommended.
 build-type: Configure
-exposed-modules:
-       System.Time
-c-sources:
-       cbits/timeUtils.c
-include-dirs: include
-includes:      HsTime.h
-install-includes:      HsTime.h HsTimeConfig.h
-extensions:    CPP, ForeignFunctionInterface
-build-depends: base, old-locale
 nhc98-options: -K2M
 extra-source-files:
         config.guess config.sub install-sh
@@ -26,3 +18,20 @@ extra-source-files:
 extra-tmp-files:
         config.log config.status autom4te.cache
         include/HsTimeConfig.h
+Cabal-Version: >= 1.2
+
+Library
+    exposed-modules:
+        System.Time
+    c-sources:
+        cbits/timeUtils.c
+    include-dirs: include
+    includes:  HsTime.h
+    install-includes:  HsTime.h HsTimeConfig.h
+    extensions:        CPP, ForeignFunctionInterface
+    build-depends: base, old-locale
+
+source-repository head
+    type:     darcs
+    location: http://darcs.haskell.org/packages/old-time/
+