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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Feb 26 18:19:50 2010 UTC (10 years ago) by jer
Branch: MAIN
Version bump using bzr snapshot (r270 from 03 Nov 2009).
(Portage version: 2.2_rc63/cvs/Linux i686)

1 jer 1.1 # Copyright 1999-2010 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.ebuild,v 1.6 2010/02/18 05:41:24 jer Exp $
4    
5     EAPI="2"
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/"
12     SRC_URI="mirror://gentoo/${P}.tgz"
13    
14     LICENSE="GPL-3"
15     SLOT="0"
16     KEYWORDS="~x86"
17     IUSE="apis xlisten"
18    
19     COMMON="x11-libs/libX11"
20     DEPEND="${COMMON} sys-apps/sed"
21     RDEPEND="
22     ${COMMON} x11-misc/dmenu
23     apis? ( x11-misc/xbindkeys )
24     "
25    
26     src_prepare() {
27     epatch "${FILESDIR}"/${P/_p*}-make.patch
28    
29     local i
30     for i in apis xlisten; do
31     use ${i} || sed -e "s|${i}||g" -i Makefile
32     done
33    
34     restore_config config.h
35     }
36    
37     src_compile() {
38     tc-export CC
39     emake || die "emake failed"
40     }
41    
42     src_install() {
43     dobin musca || die "dobin failed"
44    
45     local i
46     for i in xlisten apis; do
47     if use ${i}; then
48     dobin ${i} || die "dobin ${i} failed"
49     fi
50     done
51     doman musca.1 || die "doman failed"
52     save_config config.h
53     }

  ViewVC Help
Powered by ViewVC 1.1.20