# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/musca-0.9.23.ebuild,v 1.4 2009/09/29 18:24:58 jer Exp $ EAPI="2" inherit eutils savedconfig toolchain-funcs DESCRIPTION="A simple dynamic window manager for X, with features nicked from ratpoison and dwm" HOMEPAGE="http://aerosuidae.net/musca/" SRC_URI="http://aerosuidae.net/${P}.tgz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="x11-libs/libX11" RDEPEND="${DEPEND} x11-misc/dmenu" src_prepare() { epatch "${FILESDIR}/${P}-flags.patch" use savedconfig && restore_config config.h } src_compile() { use savedconfig && msg=", please check the saved config file" tc-export CC emake || die "emake failed${msg}" } src_install() { dobin musca || die "dobin failed" doman musca.1 save_config config.h }