summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-18 00:41:03 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-18 00:41:03 +0000
commit80d02b1873e97318b3a691ac43ac9bad75a8eed8 (patch)
treed8318dd497c14edf0ab7deb84d2c8b8bf915835f /x11-wm/larswm
parentMoved compressed patch to mirrors. Fixes bug 328657. (diff)
downloadgentoo-2-80d02b1873e97318b3a691ac43ac9bad75a8eed8.tar.gz
gentoo-2-80d02b1873e97318b3a691ac43ac9bad75a8eed8.tar.bz2
gentoo-2-80d02b1873e97318b3a691ac43ac9bad75a8eed8.zip
Respect LDFLAGS (bug #337307), CC, CFLAGS.
(Portage version: 2.2_rc83/cvs/Linux i686)
Diffstat (limited to 'x11-wm/larswm')
-rw-r--r--x11-wm/larswm/ChangeLog9
-rw-r--r--x11-wm/larswm/larswm-7.5.3-r1.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/x11-wm/larswm/ChangeLog b/x11-wm/larswm/ChangeLog
index 03048434a6ea..a6e35b5c23da 100644
--- a/x11-wm/larswm/ChangeLog
+++ b/x11-wm/larswm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/larswm
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/larswm/ChangeLog,v 1.19 2007/07/22 04:23:29 omp Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/larswm/ChangeLog,v 1.20 2010/09/18 00:41:03 jer Exp $
+
+*larswm-7.5.3-r1 (18 Sep 2010)
+
+ 18 Sep 2010; Jeroen Roovers <jer@gentoo.org> +larswm-7.5.3-r1.ebuild:
+ Respect LDFLAGS (bug #337307), CC, CFLAGS.
22 Jul 2007; David Shakaryan <omp@gentoo.org> larswm-7.5.3.ebuild:
Remove virtual/x11 from dependencies.
diff --git a/x11-wm/larswm/larswm-7.5.3-r1.ebuild b/x11-wm/larswm/larswm-7.5.3-r1.ebuild
new file mode 100644
index 000000000000..bb48e7c97144
--- /dev/null
+++ b/x11-wm/larswm/larswm-7.5.3-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/larswm/larswm-7.5.3-r1.ebuild,v 1.1 2010/09/18 00:41:03 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tiling window manager for X11, based on 9wm by David Hogan."
+HOMEPAGE="http://larswm.fnurt.net/"
+SRC_URI="http://larswm.fnurt.net/${P}.tar.gz"
+LICENSE="9wm"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto
+ x11-misc/imake
+ x11-misc/gccmakedep
+ app-text/rman"
+
+src_configure() {
+ xmkmf -a || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CCOPTIONS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ || die
+}
+
+src_install() {
+ dobin larsclock larsmenu larsremote larswm
+ newbin sample.xsession larswm-session
+ for x in *.man ; do
+ newman $x ${x/man/1}
+ done
+ dodoc ChangeLog README* sample.*
+
+ insinto /etc/X11
+ newins sample.larswmrc larswmrc || die
+ exeinto /etc/X11/Sessions
+ newexe sample.xsession larswm
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/larswm.desktop || die
+}