summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2014-02-23 13:28:17 +0100
committerAvatar Elias Pipping <pipping@exherbo.org> 2014-02-23 13:28:17 +0100
commit15deceffac25b462d7c1fd450d7026fc642cdc7d (patch)
treeaf83d1a08d205aa55346cc2034e54d59c80a915b
parentd5ada2d7fee33b09fb8e6fd7d56ab47f73e380ef (diff)
downloadlisp-15deceffac25b462d7c1fd450d7026fc642cdc7d.tar.gz
lisp-15deceffac25b462d7c1fd450d7026fc642cdc7d.tar.xz
stumpwm: exlibify
-rw-r--r--packages/x11-wm/stumpwm/stumpwm-scm.exheres-049
-rw-r--r--packages/x11-wm/stumpwm/stumpwm.exlib53
2 files changed, 54 insertions, 48 deletions
diff --git a/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0 b/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0
index 1f9a7fb..64ad5dd 100644
--- a/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0
+++ b/packages/x11-wm/stumpwm/stumpwm-scm.exheres-0
@@ -1,54 +1,7 @@
# 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 ]
+require stumpwm
-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 )
-DEFAULT_SRC_CONFIGURE_PARAMS=( --with-lisp=sbcl )
-DEFAULT_SRC_COMPILE_PARAMS=( -j1 LISP='/usr/bin/sbcl --non-interactive' )
-
-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
-}
diff --git a/packages/x11-wm/stumpwm/stumpwm.exlib b/packages/x11-wm/stumpwm/stumpwm.exlib
new file mode 100644
index 0000000..427f178
--- /dev/null
+++ b/packages/x11-wm/stumpwm/stumpwm.exlib
@@ -0,0 +1,53 @@
+# 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"
+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 )
+DEFAULT_SRC_CONFIGURE_PARAMS=( --with-lisp=sbcl )
+DEFAULT_SRC_COMPILE_PARAMS=( -j1 LISP='/usr/bin/sbcl --non-interactive' )
+
+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
+}
+