/[gentoo-x86]/eclass/ghc-package.eclass
Gentoo

Diff of /eclass/ghc-package.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.20 2006/10/04 17:45:35 kosmikus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.21 2007/03/11 15:53:31 kolmodin Exp $
4# 4#
5# Author: Andres Loeh <kosmikus@gentoo.org> 5# Author: Andres Loeh <kosmikus@gentoo.org>
6# Maintained by: Haskell herd <haskell@gentoo.org> 6# Maintained by: Haskell herd <haskell@gentoo.org>
7# 7#
8# This eclass helps with the Glasgow Haskell Compiler's package 8# This eclass helps with the Glasgow Haskell Compiler's package
248 | sed 's:,: :g' 248 | sed 's:,: :g'
249 fi 249 fi
250 done 250 done
251} 251}
252 252
253# exported function: check if we have a consistent ghc installation
254ghc-package_pkg_setup() {
255 #place holder for sanity check of ghc vs ghc-bin version issues
256 return
257}
258
253# exported function: registers the package-specific package 259# exported function: registers the package-specific package
254# configuration file 260# configuration file
255ghc-package_pkg_postinst() { 261ghc-package_pkg_postinst() {
256 ghc-register-pkg "$(ghc-localpkgconf)" 262 ghc-register-pkg "$(ghc-localpkgconf)"
257} 263}
262# package configuration file ... 268# package configuration file ...
263ghc-package_pkg_prerm() { 269ghc-package_pkg_prerm() {
264 ghc-unregister-pkg "$(ghc-localpkgconf)" 270 ghc-unregister-pkg "$(ghc-localpkgconf)"
265} 271}
266 272
267EXPORT_FUNCTIONS pkg_postinst pkg_prerm 273EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_prerm

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20