# Copyright 2011 Elias Pipping # Distributed under the terms of the GNU General Public License v2 require github [ user=sabetts ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ none ] ] require elisp-optional [ source_directory=contrib ] SUMMARY="A tiling, keyboard driven X11 Window Manager written entirely in Common Lisp" HOMEPAGE="http://www.nongnu.org/stumpwm/" LICENCES="GPL-2" SLOT="0" PLATFORMS="~amd64" MYOPTIONS="emacs" DEPENDENCIES=" build: dev-lisp/cl-ppcre dev-lisp/clx[~scm] build+run: dev-lang/sbcl [[ note = [ contains asdf ] ]] suggestion: ( app-misc/rlwrap x11-apps/xprop ) [[ *description = [ For stumpish ] ]] " RESTRICT="strip" DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/stumpwm-printing.patch "${FILES}"/stumpwm-hex-colours.patch ) DEFAULT_SRC_CONFIGURE_PARAMS=( --with-lisp=sbcl ) DEFAULT_SRC_COMPILE_PARAMS=( -j1 LISP='/usr/bin/sbcl --disable-debugger' ) src_prepare() { default eautoconf } src_compile() { default elisp-optional_src_compile } src_install() { emake install destdir="${IMAGE}" insinto /usr/share/${PN}/contrib doins contrib/*.lisp dobin contrib/stumpish elisp-optional_src_install }