summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-09-27 00:29:07 +0000
committerMichael Weber <xmw@gentoo.org>2010-09-27 00:29:07 +0000
commitc08df0b5ccfb2a74897a9c2487bf5643ef1e609b (patch)
tree987baf8f353d3aee80f223e4e0f2febd2e1c7f41 /x11-wm/cwm
parentVersion bump (diff)
downloadgentoo-2-c08df0b5ccfb2a74897a9c2487bf5643ef1e609b.tar.gz
gentoo-2-c08df0b5ccfb2a74897a9c2487bf5643ef1e609b.tar.bz2
gentoo-2-c08df0b5ccfb2a74897a9c2487bf5643ef1e609b.zip
fix build system issues
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/cwm')
-rw-r--r--x11-wm/cwm/ChangeLog7
-rw-r--r--x11-wm/cwm/cwm-20100809-r1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/x11-wm/cwm/ChangeLog b/x11-wm/cwm/ChangeLog
index 60241556f16a..92d08c36208c 100644
--- a/x11-wm/cwm/ChangeLog
+++ b/x11-wm/cwm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/cwm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/ChangeLog,v 1.2 2010/08/24 18:32:44 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/ChangeLog,v 1.3 2010/09/27 00:29:07 xmw Exp $
+
+*cwm-20100809-r1 (27 Sep 2010)
+
+ 27 Sep 2010; Michael Weber <xmw@gentoo.org> +cwm-20100809-r1.ebuild:
+ Revbump to fix build system issues (missing header files)
*cwm-20100809 (24 Aug 2010)
diff --git a/x11-wm/cwm/cwm-20100809-r1.ebuild b/x11-wm/cwm/cwm-20100809-r1.ebuild
new file mode 100644
index 000000000000..eb2ba0dfb012
--- /dev/null
+++ b/x11-wm/cwm/cwm-20100809-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/cwm/cwm-20100809-r1.ebuild,v 1.1 2010/09/27 00:29:07 xmw 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/man.cgi?query=cwm&sektion=1"
+SRC_URI="http://xmw.de/mirror/${PN}/${P}.tar.bz2
+ http://xmw.de/mirror/${PN}/${PF}.patch.tar.bz2"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr"
+DEPEND="${RDEPEND}
+ sys-devel/bison"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch linux.patch
+ sed -i -e '/^CFLAGS/s:-Wall::' Makefile || die
+}
+
+src_compile() {
+ export LDADD="${LDFLAGS}"
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dobin ${PN} || die
+ doman ${PN}.1 ${PN}rc.5 || die
+}