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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 19 11:03:01 2015 UTC (5 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Use development homepage instead of defunct website.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 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-r3.ebuild,v 1.2 2014/11/10 12:46:33 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="https://launchpad.net/musca"
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 "${FILESDIR}"/${PN}-0.9.24_p20100226-null.patch
40
41 local i
42 for i in apis xlisten; do
43 if ! use ${i}; then
44 sed -e "s|${i}||g" -i Makefile || die
45 fi
46 done
47
48 tc-export CC
49 }
50
51 src_install() {
52 dobin musca
53
54 local i
55 for i in xlisten apis; do
56 if use ${i}; then
57 dobin ${i}
58 fi
59 done
60 doman musca.1
61
62 exeinto /etc/X11/Sessions
63 newexe "${FILESDIR}"/${PN}.xsession musca
64
65 save_config config.h
66 }

  ViewVC Help
Powered by ViewVC 1.1.20