/[gentoo-x86]/x11-wm/xmonad/xmonad-0.8.ebuild
Gentoo

Diff of /x11-wm/xmonad/xmonad-0.8.ebuild

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/x11-wm/xmonad/Attic/xmonad-0.8.ebuild,v 1.2 2009/07/21 16:43:58 chainsaw Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/Attic/xmonad-0.8.ebuild,v 1.3 2009/07/31 17:31:20 kolmodin Exp $
4 4
5CABAL_FEATURES="bin lib profile haddock" 5CABAL_FEATURES="bin lib profile haddock"
6 6
7inherit haskell-cabal eutils 7inherit base haskell-cabal eutils
8 8
9DESCRIPTION="A lightweight X11 window manager" 9DESCRIPTION="A lightweight X11 window manager"
10HOMEPAGE="http://www.xmonad.org/" 10HOMEPAGE="http://www.xmonad.org/"
11SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" 11SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
12IUSE="" 12IUSE=""
21 >=dev-haskell/cabal-1.2" 21 >=dev-haskell/cabal-1.2"
22RDEPEND="${DEPEND}" 22RDEPEND="${DEPEND}"
23 23
24SAMPLE_CONFIG="xmonad.hs" 24SAMPLE_CONFIG="xmonad.hs"
25SAMPLE_CONFIG_LOC="man" 25SAMPLE_CONFIG_LOC="man"
26
27src_unpack() {
28 base_src_unpack
29 sed -e 's/base >= 3/base < 4 \&\& >= 3/' -i "${S}/${PN}.cabal"
30}
26 31
27src_install() { 32src_install() {
28 cabal_src_install 33 cabal_src_install
29 34
30 echo -e "#!/bin/sh\n/usr/bin/xmonad" > "${T}/${PN}" 35 echo -e "#!/bin/sh\n/usr/bin/xmonad" > "${T}/${PN}"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20