blob: 775333328d031a553a126467cc49675ca43fb090 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils savedconfig toolchain-funcs
DESCRIPTION="A simple tiling window manager for X, with features nicked from ratpoison and dwm"
HOMEPAGE="http://aerosuidae.net/musca.html"
SRC_URI="http://aerosuidae.net/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="savedconfig"
DEPEND="x11-libs/libX11"
RDEPEND="${DEPEND}
x11-misc/dmenu"
src_unpack() {
unpack ${A}
cd "${S}"
if use savedconfig; then
restore_config config.h
fi
sed -i \
-e "s:X11R6/include:include:" \
-e "s:X11R6/lib:$(get_libdir):" \
Makefile || die
tc-export CC
}
src_install() {
dobin musca || die
doman musca.1
}
|