/[gentoo-x86]/x11-wm/fluxbox/fluxbox-0.1.7-r2.ebuild
Gentoo

Contents of /x11-wm/fluxbox/fluxbox-0.1.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 16 16:36:46 2002 UTC (15 years, 10 months ago) by karltk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixed #1103

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: Karl Trygve Kalleberg <karltk@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.1.7-r2.ebuild,v 1.1 2002/03/09 02:39:37 karltk Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="Window manager based on BlackBox"
8 SRC_URI="http://download.sourceforge.net/fluxbox/fluxbox-${PV}.tar.gz http://fluxbox.sourceforge.net/download/patches/${P}-bugfix1.patch"
9 HOMEPAGE="http://fluxbox.sf.net"
10
11 DEPEND="virtual/x11
12 virtual/glibc
13 kde? ( >=kde-base/kdebase-2.1 )
14 gnome? ( >=gnome-base/gnome-1.4-r3 )
15 nls? ( >=sys-devel/gettext-0.10.38 ) "
16
17 RDEPEND="$DEPEND"
18
19 src_unpack() {
20 unpack ${P}.tar.gz
21 cd ${S}
22 patch -p1 < ${DISTDIR}/${P}-bugfix1.patch
23 }
24
25 src_compile() {
26 local myconf
27 use nls && myconf="$myconf --enable-nls" \
28 || myconf="$myconf --disable-nls"
29 use kde && myconf="$myconf --enable-kde" \
30 && export KDEDIR=/usr/kde/2 \
31 || myconf="$myconf --disable-kde"
32 use gnome && myconf="$myconf --enable-gnome" \
33 || myconf="$myconf --disable-gnome"
34
35 ./configure \
36 --host=${CHOST} \
37 --prefix=/usr \
38 --infodir=/usr/share/info \
39 --mandir=/usr/share/man \
40 $myconf || die "./configure failed"
41
42 emake || die
43 }
44
45 src_install () {
46 make \
47 prefix=${D}/usr \
48 sysconfdir=${D}/etc/X11/fluxbox \
49 mandir=${D}/usr/share/man \
50 infodir=${D}/usr/share/info \
51 install || die
52
53 dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS
54 docinto data
55 dodoc data/README*
56 }

  ViewVC Help
Powered by ViewVC 1.1.20