/[gentoo-x86]/x11-wm/musca/musca-0.9.24_p20100226-r2.ebuild
Gentoo

Contents of /x11-wm/musca/musca-0.9.24_p20100226-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Mar 6 21:44:23 2012 UTC (2 years, 9 months ago) by jer
Branch: MAIN
Changes since 1.2: +3 -3 lines
Remove testing cruft.

(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/musca-0.9.24_p20100226-r2.ebuild,v 1.2 2012/03/06 21:39:45 jer Exp $
4
5 EAPI="4"
6
7 inherit eutils savedconfig toolchain-funcs
8
9 DESCRIPTION="A simple dynamic window manager for X, with features nicked from
10 ratpoison and dwm"
11 HOMEPAGE="http://aerosuidae.net/musca.html"
12 SRC_URI="mirror://gentoo/${P}.tgz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="apis xlisten"
18
19 COMMON="x11-libs/libX11"
20 DEPEND="${COMMON}
21 sys-apps/sed"
22 RDEPEND="
23 ${COMMON}
24 >=x11-misc/dmenu-4.4
25 apis? ( x11-misc/xbindkeys )
26 "
27
28 src_prepare() {
29 restore_config config.h
30
31 sed -i config.h \
32 -e 's:"sort | dmenu -i -b":"-i -b":g' \
33 -e 's:sed.*exec.*-i::g' \
34 || die
35
36 epatch \
37 "${FILESDIR}"/${PN}-0.9.24-make.patch \
38 "${FILESDIR}"/${PN}-0.9.24_p20100226-dmenu-4.4.patch
39
40 local i
41 for i in apis xlisten; do
42 if ! use ${i}; then
43 sed -e "s|${i}||g" -i Makefile || die
44 fi
45 done
46
47 tc-export CC
48 }
49
50 src_install() {
51 dobin musca
52
53 local i
54 for i in xlisten apis; do
55 if use ${i}; then
56 dobin ${i}
57 fi
58 done
59 doman musca.1
60
61 exeinto /etc/X11/Sessions
62 newexe "${FILESDIR}"/${PN}.xsession musca
63
64 save_config config.h
65 }

  ViewVC Help
Powered by ViewVC 1.1.20