Magellan Linux

Contents of /trunk/extras/xmonad/xmonad-0.9.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5510 - (show annotations) (download)
Wed Jun 30 23:43:46 2010 UTC (13 years, 10 months ago) by niro
File size: 1237 byte(s)
-fixed PCATEGORIE and a typo
1 # $Id$
2
3 PNAME="xmonad"
4 PVER="0.9.1"
5 PBUILD="r3"
6
7 STATE="unstable"
8
9 SDEPEND=">= dev-libs/gmp-4.3.1
10 >= x11-libs/libX11-1.3
11 >= x11-libs/libXinerama-1.1
12 >= dev-haskell/haskell-mtl-1.1.0.2
13 >= dev-haskell/haskell-x11-1.5.0.0
14 >= dev-haskell/haskell-utf8-string-0.3.6"
15
16 SPLIT_PACKAGES="xmonad haskell-xmonad"
17 sminclude haskell cleanutils
18
19 UP2DATE="updatecmd http://hackage.haskell.org/package/${PNAME/#haskell-/} | lasttarball gz"
20
21 split_info_xmonad()
22 {
23 PCATEGORIE="x11-wm"
24 DESCRIPTION="xmonad: A tiling window manager."
25 DEPEND=">= dev-libs/gmp-4.3.1
26 >= x11-libs/libX11-1.3
27 >= x11-libs/libXinerama-1.1"
28 }
29
30 split_info_haskell-xmonad()
31 {
32 PCATEGORIE="dev-haskell"
33 DESCRIPTION="xmonad haskell module for ghc."
34 DEPEND="== x11-wm/xmonad-${PVER}
35 >= dev-haskell/haskell-mtl-1.1.0.2
36 >= dev-haskell/haskell-x11-1.5.0.0
37 >= dev-haskell/haskell-utf8-string-0.3.6"
38 }
39
40 # override sminclude to trigger split_srcinstalls
41 src_install() { true; }
42
43 # split srcinstall
44 src_install_xmonad()
45 {
46 haskell_src_install || die
47 # cleanup
48 zapmost ${BINDIR} usr/bin usr/share/doc || die
49 }
50
51 # split srcinstall
52 src_install_haskell-xmonad()
53 {
54 haskell_src_install || die
55 # cleanup
56 rm -rf ${BINDIR}/usr/bin || die
57 rm -rf ${BINDIR}/usr/share/doc || die
58 }

Properties

Name Value
svn:keywords Id