/[gentoo-x86]/x11-wm/windowlab/windowlab-1.34.ebuild
Gentoo

Contents of /x11-wm/windowlab/windowlab-1.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri May 4 08:58:57 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.6: +3 -3 lines
dev-til/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/windowlab/windowlab-1.34.ebuild,v 1.6 2009/01/09 15:42:49 remi Exp $
4
5 inherit eutils
6
7 DESCRIPTION="small and simple window manager of novel design."
8 HOMEPAGE="http://www.nickgravgaard.com/windowlab/"
9 SRC_URI="http://www.nickgravgaard.com/${PN}/${P}.tar"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~mips ppc x86"
14 IUSE="truetype"
15
16 RDEPEND="truetype? ( x11-libs/libXft )
17 x11-libs/libXext"
18 DEPEND="${RDEPEND}
19 x11-proto/xextproto
20 virtual/pkgconfig"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${FILESDIR}/${PN}-1.34-fixed-font.patch"
26 }
27
28 src_compile() {
29 if use truetype ; then
30 export DEFINES=-DXFT
31 export EXTRA_INC=$(pkg-config --cflags xft)
32 export EXTRA_LIBS=$(pkg-config --libs xft)
33 fi
34 emake CFLAGS="${CFLAGS}" || die "emake failed"
35 }
36
37 src_install() {
38 dobin ${PN} || die
39
40 newman ${PN}.1x ${PN}.1 || die
41 dodoc CHANGELOG README TODO || die
42
43 dodir /etc/X11/${PN} || die
44 insinto /etc/X11/${PN}
45 doins ${PN}.menurc || die
46
47 dodir /etc/X11/Sessions || die
48 echo "/usr/bin/${PN}" > ${D}/etc/X11/Sessions/${PN}
49 fperms a+x /etc/X11/Sessions/${PN}
50 }
51
52 pkg_postinst() {
53 elog "${PN}'s menu config file has been changed from"
54 elog "/etc/X11/${PN}/menurc to /etc/X11/${PN}/${PN}.menurc"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20