blob: 2817e71fa2f3bce3119d0fe65c1f9195dba62785 (
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
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/cwm-20110515.ebuild,v 1.4 2011/08/07 10:45:32 hwoarang Exp $
EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager"
HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/
https://github.com/chneukirchen/cwm"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ~arm ~sparc x86"
IUSE=""
RDEPEND="x11-libs/libXft
x11-libs/libXinerama
x11-libs/libXrandr"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/bison"
src_prepare() {
epatch "${FILESDIR}"/${PN}-20110323-Makefile.patch
}
src_compile() {
export LDADD="${LDFLAGS}"
tc-export CC
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
}
|