blob: 42f52c2e72257f8894a57c1e171c5fede487effa (
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
41
42
43
44
45
46
47
48
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/blwm/blwm-1.0.4.ebuild,v 1.4 2005/08/07 13:30:06 hansmi Exp $
inherit gnuconfig
DESCRIPTION="BLWM is a Windows 2000 like window manager localized for Brazil."
HOMEPAGE="http://www.blanes.com.br"
SRC_URI="http://labdid.if.usp.br/~blanes/arquivos/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
RDEPEND="virtual/x11"
DEPEND="${RDEPEND}
=sys-devel/autoconf-2.13*
=sys-devel/automake-1.4*
sys-devel/flex
sys-devel/bison"
src_compile(){
export WANT_AUTOCONF=2.1
export WANT_AUTOMAKE=1.4
aclocal || die
autoheader || die
autoconf || die
# automake fails on some systems, but harmless to build
automake
econf --with-blwmdir=/usr/share/blwm --with-confdir=/etc/blwm || die
emake || die
}
src_install(){
make DESTDIR=${D} install || die
dodoc doc/*
insinto /etc/skel
newins rc/system.blwmrc .blwmrc
exeinto /etc/X11/Sessions
echo "#!/bin/bash" > blwm
echo "/usr/bin/blwm" >> blwm
doexe blwm
}
|