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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20