summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-08-24 16:40:59 +0000
committerMichael Weber <xmw@gentoo.org>2010-08-24 16:40:59 +0000
commit3e202b68ac5b9210fe1c31b97c6ec1bf23b86069 (patch)
treefa4772dec033c45ba4f4a74f2997132ddaf3892e /x11-wm/cwm
parentVersion bump via perl-bump experimental tool. (diff)
downloadgentoo-2-3e202b68ac5b9210fe1c31b97c6ec1bf23b86069.tar.gz
gentoo-2-3e202b68ac5b9210fe1c31b97c6ec1bf23b86069.tar.bz2
gentoo-2-3e202b68ac5b9210fe1c31b97c6ec1bf23b86069.zip
Initial commit for cwm
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/cwm')
-rw-r--r--x11-wm/cwm/ChangeLog11
-rw-r--r--x11-wm/cwm/cwm-20100809.ebuild41
-rw-r--r--x11-wm/cwm/metadata.xml9
3 files changed, 61 insertions, 0 deletions
diff --git a/x11-wm/cwm/ChangeLog b/x11-wm/cwm/ChangeLog
new file mode 100644
index 000000000000..fd3d4e6a68f6
--- /dev/null
+++ b/x11-wm/cwm/ChangeLog
@@ -0,0 +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.1 2010/08/24 16:40:59 xmw Exp $
+
+*cwm-20100809 (24 Aug 2010)
+
+ 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org> +cwm-20100809.ebuild,
+ +metadata.xml:
+ Initial commit for cwm. Fixes bug #227771, thanks to Ihar Hrachyshka for
+ the report and initial ebuild
+
diff --git a/x11-wm/cwm/cwm-20100809.ebuild b/x11-wm/cwm/cwm-20100809.ebuild
new file mode 100644
index 000000000000..2ff345fe3591
--- /dev/null
+++ b/x11-wm/cwm/cwm-20100809.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.ebuild,v 1.1 2010/08/24 16:40:59 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}/${P}.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
+}
diff --git a/x11-wm/cwm/metadata.xml b/x11-wm/cwm/metadata.xml
new file mode 100644
index 000000000000..80dffe809356
--- /dev/null
+++ b/x11-wm/cwm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber (xmw)</name>
+</maintainer>
+</pkgmetadata>