/[gentoo-x86]/x11-wm/flwm/flwm-1.00-r3.ebuild
Gentoo

Contents of /x11-wm/flwm/flwm-1.00-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Aug 24 10:25:16 2004 UTC (15 years, 5 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Changed x11-base/xfree to virtual/x11; bug #60787. Integrated into one ebuild.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/flwm/flwm-1.00-r3.ebuild,v 1.9 2004/06/24 23:41:11 agriffis Exp $
4
5 IUSE="opengl"
6
7 DESCRIPTION="A lightweight window manager based on fltk"
8 SRC_URI="http://flwm.sourceforge.net/${P}.tgz"
9 HOMEPAGE="http://flwm.sourceforge.net"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="x86 -ppc"
14
15
16 DEPEND=">=x11-base/xfree-4.0.1
17 =x11-libs/fltk-1.0*
18 opengl? ( virtual/opengl )"
19
20 #Configuration of the appearance and behavior of flwm
21 #must be done at compile time, i.e. there is
22 #no .flwmrc file or interactive configuring while
23 #running. To quote the man page, "gcc is your friend,"
24 #so this type of configuration must be done at compile
25 #time by editing the config.h file. I can't see any
26 #way to do this automagically so we'll echo a message
27 #in pkg_postinst to tell the user to 'ebuild unpack'
28 #and edit the config.h to their liking.
29
30 src_compile() {
31
32 use opengl && export X_EXTRA_LIBS=-lGL
33
34 export CXXFLAGS="${CXXFLAGS} -I/usr/include/fltk-1.0"
35 export LIBS="-L/usr/lib/fltk-1.0"
36
37 econf || die
38 make || die
39 }
40
41 src_install() {
42
43 doman flwm.1
44 dodoc README flwm_wmconfig
45
46 into /usr
47 dobin flwm
48 }
49
50 pkg_postinst() {
51 einfo "Customization of behaviour and appearance of"
52 einfo "flwm requires manually editing the config.h"
53 einfo "source file. If you want to change the defaults,"
54 einfo "do the following:"
55 einfo ""
56 einfo "\tebuild ${P}.ebuild unpack"
57 einfo "\t${EDITOR} ${S}/config.h "
58 einfo "\tebuild ${P} compile install qmerge"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20