1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils multilib
10 DESCRIPTION="100% Common Lisp X11 window manager (based on Tinywm and Stumpwm)"
11 HOMEPAGE="http://common-lisp.net/project/clfswm"
12 SRC_URI="http://common-lisp.net/project/${PN}/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 RDEPEND="dev-lisp/clisp"
24 epatch "${FILESDIR}"/${MY_P}-configure.patch
25 epatch "${FILESDIR}"/${MY_P}-makefile.patch
29 ./configure --prefix "${EPREFIX}"/usr \
30 --libdir $(get_libdir) \
32 --with-clfswm "${EPREFIX}"/usr/$(get_libdir)/${PN} \
33 --with-asdf "${EPREFIX}"/usr/$(get_libdir)/${PN}/contrib \
34 --lisp-bin "${EPREFIX}"/usr/bin/clisp \
35 --lisp-opt "-K full" || die
39 emake DESTDIR="${ED}"/usr install
40 dodoc README ChangeLog
44 elog "Clfswm will compile itself into \$XDG_CACHE_HOME!"
45 elog "Make sure the variable is set."
47 elog "If you want to use different lisp-implementations"
48 elog "change the script '/usr/bin/clfswm'."