| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/larswm/larswm-7.5.3-r1.ebuild,v 1.5 2012/03/06 21:54:57 ranger Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
inherit toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="Tiling window manager for X11, based on 9wm by David Hogan."
|
| 10 |
HOMEPAGE="http://larswm.fnurt.net/"
|
| 11 |
SRC_URI="http://larswm.fnurt.net/${P}.tar.gz"
|
| 12 |
LICENSE="9wm"
|
| 13 |
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="alpha ~amd64 ppc ppc64 x86 ~x86-fbsd"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
RDEPEND="x11-libs/libX11
|
| 19 |
x11-libs/libXmu
|
| 20 |
x11-libs/libXt
|
| 21 |
x11-libs/libXext"
|
| 22 |
DEPEND="${RDEPEND}
|
| 23 |
x11-proto/xproto
|
| 24 |
x11-proto/xextproto
|
| 25 |
x11-misc/imake
|
| 26 |
x11-misc/gccmakedep
|
| 27 |
app-text/rman"
|
| 28 |
|
| 29 |
src_configure() {
|
| 30 |
xmkmf -a || die
|
| 31 |
}
|
| 32 |
|
| 33 |
src_compile() {
|
| 34 |
emake \
|
| 35 |
CC=$(tc-getCC) \
|
| 36 |
CCOPTIONS="${CFLAGS}" \
|
| 37 |
EXTRA_LDOPTIONS="${LDFLAGS}" \
|
| 38 |
|| die
|
| 39 |
}
|
| 40 |
|
| 41 |
src_install() {
|
| 42 |
dobin larsclock larsmenu larsremote larswm
|
| 43 |
newbin sample.xsession larswm-session
|
| 44 |
for x in *.man ; do
|
| 45 |
newman $x ${x/man/1}
|
| 46 |
done
|
| 47 |
dodoc ChangeLog README* sample.*
|
| 48 |
|
| 49 |
insinto /etc/X11
|
| 50 |
newins sample.larswmrc larswmrc || die
|
| 51 |
exeinto /etc/X11/Sessions
|
| 52 |
newexe sample.xsession larswm
|
| 53 |
insinto /usr/share/xsessions
|
| 54 |
doins "${FILESDIR}"/larswm.desktop || die
|
| 55 |
}
|