From 27cb0dd97e27de7b27e2ee66e6c2f5158c68f519 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 16 May 2013 19:58:00 +0200 Subject: Add stumpwm-scm --- packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 | 55 +++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 (limited to 'packages/x11-wm/stumpwm/stumpwm-scm.exheres-0') diff --git a/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 b/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 new file mode 100644 index 0000000..56e0505 --- /dev/null +++ b/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 @@ -0,0 +1,55 @@ +# 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 +} + -- cgit v1.2.3-54-g00ecf