/[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.3 - (hide annotations) (download)
Thu Jul 28 04:55:06 2011 UTC (8 years, 7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Update HOMEPAGE. Remove old.

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

1 radhermit 1.2 # Copyright 1999-2011 Gentoo Foundation
2 jer 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/musca-0.9.24_p20100226.ebuild,v 1.2 2011/02/02 21:34:00 radhermit Exp $
4 jer 1.1
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 radhermit 1.2 KEYWORDS="~amd64 ~x86"
17 jer 1.1 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