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

Contents of /x11-wm/flwm/flwm-1.02.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 22 13:25:28 2011 UTC (8 years, 1 month ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
punt flwm to pave way for fltk-1.3.0 stabilization

1 # Copyright 1999-2011 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.02.ebuild,v 1.3 2011/03/22 10:01:31 jlec Exp $
4
5 EAPI=1
6
7 inherit savedconfig eutils flag-o-matic multilib toolchain-funcs
8
9 DESCRIPTION="A lightweight window manager based on fltk"
10 HOMEPAGE="http://flwm.sourceforge.net/"
11 SRC_URI="http://flwm.sourceforge.net/${P}.tgz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="opengl"
17
18 DEPEND="
19 >=x11-libs/fltk-1.1.10-r2:1
20 opengl? ( virtual/opengl )"
21 RDEPEND="${DEPEND}"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}/${P}-strip.patch"
27
28 restore_config config.h
29 tc-export CXX
30 }
31
32 src_compile() {
33 use opengl && export X_EXTRA_LIBS=-lGL
34 append-flags -I$(fltk-config --includedir)
35 append-ldflags -L$(dirname $(fltk-config --libs))
36
37 econf || die "econf failed"
38 emake || die "emake failed"
39 }
40
41 src_install() {
42 doman flwm.1 || die
43 dodoc README flwm_wmconfig || die
44 dobin flwm || die
45
46 save_config config.h
47 }

  ViewVC Help
Powered by ViewVC 1.1.20