Applications and Libraries. It is a framework which defines a common interface for authors to more easily build their applications in a portable way. The Haskell Cabal is meant to be a part of a larger infrastructure for distributing, organizing, and cataloging Haskell Libraries and Tools. Specifically, the Cabal describes what a Haskell package is, how these packages interact with the language, and what Haskell implementations must to do to support packages. The Cabal also specifies some infrastructure (code) that makes it easy for tool authors to build and distribute conforming packages.
62 lines
2.2 KiB
Text
62 lines
2.2 KiB
Text
#!/bin/sh
|
|
# $NetBSD: INSTALL,v 1.1.1.1 2005/11/07 16:51:51 emil_s Exp $
|
|
|
|
PREFIX=@PREFIX@
|
|
PKGVERSION=@PKGVERSION@
|
|
GHCVERSION=@GHCVERSION@
|
|
|
|
PKGNAME=$1
|
|
STAGE=$2
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL )
|
|
|
|
echo "name: Cabal
|
|
version: ${PKGVERSION}
|
|
license: BSD3
|
|
copyright: 2003-2005, Isaac Jones
|
|
maintainer: Isaac Jones <ijones@syntaxpolice.org>
|
|
stability:
|
|
homepage: http://www.haskell.org/cabal/
|
|
package-url:
|
|
description: The Haskell Common Architecture for Building Applications and
|
|
Libraries: a framework defining a common interface for authors to more
|
|
easily build their Haskell applications in a portable way.
|
|
.
|
|
The Haskell Cabal is meant to be a part of a larger infrastructure
|
|
for distributing, organizing, and cataloging Haskell libraries
|
|
and tools.
|
|
category: Distribution
|
|
author: Isaac Jones <ijones@syntaxpolice.org>
|
|
exposed: True
|
|
exposed-modules: Distribution.Compat.ReadP Distribution.Compiler
|
|
Distribution.Extension Distribution.InstalledPackageInfo
|
|
Distribution.License Distribution.Make Distribution.Package
|
|
Distribution.PackageDescription Distribution.ParseUtils
|
|
Distribution.PreProcess Distribution.PreProcess.Unlit
|
|
Distribution.Setup Distribution.Simple Distribution.Simple.Build
|
|
Distribution.Simple.Configure Distribution.Simple.GHCPackageConfig
|
|
Distribution.Simple.Install Distribution.Simple.LocalBuildInfo
|
|
Distribution.Simple.Register Distribution.Simple.SrcDist
|
|
Distribution.Simple.Utils Distribution.Compat.FilePath
|
|
Distribution.Version Language.Haskell.Extension
|
|
hidden-modules: Distribution.GetOpt Distribution.Compat.Directory
|
|
Distribution.Compat.Exception Distribution.Compat.RawSystem
|
|
import-dirs: ${PREFIX}/lib/Cabal-${PKGVERSION}/ghc-${GHCVERSION}
|
|
library-dirs:${PREFIX}/lib/Cabal-${PKGVERSION}/ghc-${GHCVERSION}
|
|
hs-libraries: HSCabal-${PKGVERSION}
|
|
extra-libraries:
|
|
include-dirs:
|
|
includes:
|
|
depends: base-1.0 util-1.0
|
|
hugs-options:
|
|
cc-options:
|
|
ld-options:
|
|
framework-dirs:
|
|
frameworks:
|
|
haddock-interfaces:
|
|
haddock-html:" | /usr/pkg/bin/ghc-pkg update -
|
|
;;
|
|
esac
|
|
|
|
exit 0
|