/[gentoo-x86]/x11-misc/lsw/lsw-0.2-r1.ebuild
Gentoo

Contents of /x11-misc/lsw/lsw-0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Oct 9 13:36:34 2011 UTC (2 years, 6 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable on amd64 wrt bug #386085

(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

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-misc/lsw/lsw-0.2-r1.ebuild,v 1.2 2011/10/07 16:22:39 jer Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="list window names"
10 HOMEPAGE="http://tools.suckless.org/lsw"
11 SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="x11-libs/libX11"
19 DEPEND="${RDEPEND}
20 x11-proto/xproto"
21
22 src_prepare() {
23 sed -i Makefile \
24 -e "s/.*strip.*//" || die
25
26 sed -i config.mk \
27 -e '/^CC/d' \
28 -e '/^CFLAGS/{s| -Os||;s|=|+=|}' \
29 -e '/^LDFLAGS/{s|=|+=|;s| -s||}' || die
30 }
31
32 src_compile() {
33 emake CC=$(tc-getCC)
34 }
35
36 src_install() {
37 doman ${PN}.1
38 dobin ${PN}
39 }

  ViewVC Help
Powered by ViewVC 1.1.20