summaryrefslogtreecommitdiff
blob: 140324abcbfbc06da398745859214a87b58a0daf (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Michael Conrad Tilstra <tadpol@gentoo.org> <tadpol@tadpol.org>
# $Header: /var/cvsroot/gentoo-x86/x11-wm/flwm/flwm-1.00-r1.ebuild,v 1.4 2001/10/12 08:24:27 hallski Exp $

S=${WORKDIR}/${P}
SRC_URI="http://flwm.sourceforge.net/${P}.tgz"
HOMEPAGE="http://flwm.sourceforge.net"
DESCRIPTION="A lightweight window manager based on fltk"

DEPEND=">=x11-base/xfree-4.0.1
	>=x11-libs/fltk-1.0.11
	opengl? ( virtual/opengl )
"

src_compile() {
    if [ "`use opengl`" ]; then
      export X_EXTRA_LIBS=-lGL
    fi
    try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST}
    try make
}

src_install() {
    doman flwm.1
    dodoc README flwm_wmconfig
    into /usr
    dobin flwm
}