summaryrefslogtreecommitdiffstats
path: root/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/x11-wm/stumpwm/stumpwm-scm.exheres-0')
-rw-r--r--packages/x11-wm/stumpwm/stumpwm-scm.exheres-055
1 files changed, 55 insertions, 0 deletions
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 <pipping@exherbo.org>
+# 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
+}
+