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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jun 1 15:47:06 2011 UTC (8 years, 7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Add xsession entry thanks to Matthew Alexander (bug #369355). Remove die() messages.

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

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="http://aerosuidae.net/${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}-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