-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdswm.ebuild
45 lines (37 loc) · 1.17 KB
/
dswm.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
$Header: /var/cvsroot/gentoo-x86/x11-wm/dswm/dswm-0.0.1.ebuild,v 1.2 2010/12/17 20:36:20 betelgeuse Exp $
EAPI="2"
inherit common-lisp eutils
DESCRIPTION="DSWM is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
HOMEPAGE="http://dswm.sourceforge.net"
SRC_URI="http://download.savannah.nongnu.org/releases/stumpwm/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="sbcl"
CLPACKAGE="dswm"
DEPEND="dev-lisp/common-lisp-controller
virtual/commonlisp
dev-lisp/cl-ppcre
doc? ( sys-apps/texinfo )"
# If clisp is selected, we need at least dev-lisp/clisp-2.38-r2
RDEPEND="${DEPEND}
!sbcl? ( !amd64? ( dev-lisp/cmucl ) )
sbcl? ( dev-lisp/sbcl dev-lisp/cl-clx )"
src_configure() {
sed "s,@PACKAGE_VERSION@,$PV,g" version.lisp.in > version.lisp
}
src_compile() {
use doc && makeinfo dswm.texi
}
src_install() {
common-lisp-install *.lisp stumpwm.asd
common-lisp-system-symlink
dodoc README NEWS ChangeLog "${FILESDIR}/README.Gentoo" || die
use doc && doinfo stumpwm.info
}
pkg_postinst() {
common-lisp_pkg_postinst
cat "${FILESDIR}/README.Gentoo"
}