blob: d4e1272fa630c28895b9575162a8579b2d41d4c3 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Karl Trygve Kalleberg
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.1.5.ebuild,v 1.2 2001/12/29 21:45:09 danarmak Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on BlackBox"
SRC_URI="http://prdownloads.sourceforge.net/fluxbox/fluxbox-0.1.5.tar.gz"
HOMEPAGE="http://fluxbox.sf.net"
DEPEND="virtual/x11
virtual/glibc
kde? ( >=kde-base/kdebase-2.1 )
nls? ( >=sys-devel/gettext-0.10.38 ) "
RDEPEND="$DEPEND"
src_compile() {
local myconf
use nls && myconf="$myconf --enable-nls" || myconf="$myconf --disable-nls"
use kde && myconf="$myconf --enable-kde" && export KDEDIR=/usr/kde/2 || myconf="$myconf --disable-kde"
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
$myconf || die "./configure failed"
emake || die
}
src_install () {
make \
prefix=${D}/usr \
sysconfdir=${D}/etc/X11/fluxbox \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS
docinto data
dodoc data/README*
}
|