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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 4 08:58:57 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.40.ebuild,v 1.1 2010/05/30 15:40:25 xarthisius Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="small and simple window manager of novel design."
10 HOMEPAGE="http://www.nickgravgaard.com/windowlab/"
11 SRC_URI="http://www.nickgravgaard.com/${PN}/${P}.tar"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~mips ~ppc ~x86"
16 IUSE="truetype"
17
18 RDEPEND="truetype? ( x11-libs/libXft )
19 x11-libs/libXext"
20 DEPEND="${RDEPEND}
21 x11-proto/xextproto
22 virtual/pkgconfig"
23
24 pkg_setup() {
25 if use truetype ; then
26 export DEFINES=-DXFT
27 export EXTRA_INC=$(pkg-config --cflags xft)
28 export EXTRA_LIBS=$(pkg-config --libs xft)
29 fi
30 tc-export CC
31 }
32
33 src_prepare() {
34 epatch "${FILESDIR}/${PN}-1.34-fixed-font.patch" \
35 "${FILESDIR}"/${P}-gentoo.diff
36 }
37
38 src_install() {
39 emake DESTDIR="${D}" install || die
40 dodoc CHANGELOG README TODO || die
41
42 exeinto /etc/X11/Sessions
43 cat <<- EOF > "${T}"/${PN}
44 #!/bin/sh
45 exec /usr/bin/${PN}
46 EOF
47 doexe "${T}"/${PN}
48 }
49
50 pkg_postinst() {
51 elog "${PN}'s menu config file has been changed from"
52 elog "/etc/X11/${PN}/menurc to /etc/X11/${PN}/${PN}.menurc"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20