diff options
Diffstat (limited to 'x11-wm/dswm/dswm-0.0.4.ebuild')
-rw-r--r-- | x11-wm/dswm/dswm-0.0.4.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-wm/dswm/dswm-0.0.4.ebuild b/x11-wm/dswm/dswm-0.0.4.ebuild new file mode 100644 index 0000000..f6f8f52 --- /dev/null +++ b/x11-wm/dswm/dswm-0.0.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/dswm/dswm-0.0.3.ebuild,v 1.2 2011/04/25 20:36:20 betelgeuse Exp $ + +EAPI="2" + +inherit common-lisp autotools eutils + +DESCRIPTION="DSWM is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp." +# HOMEPAGE="http://dss-project.org" +SRC_URI="http://sourceforge.net/projects/dswm/files/0.0.4/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="emacs doc" + +CLPACKAGE="dswm" + +DEPEND="dev-lisp/common-lisp-controller + >=dev-lisp/sbcl-1.0.36-r1 + dev-lisp/clx + dev-lisp/cl-ppcre + doc? ( sys-apps/texinfo )" + +RDEPEND="x11-base/xorg-server + emacs? ( app-emacs/slime )" + +src_prepare() { + mv ${P}-git/* . + rm -rf ${P}-git/ + eautoconf +} + +src_configure() { + ## sed "s,@PACKAGE_VERSION@,$PV,g" version.lisp.in > version.lisp + ## autocnof + ##./configure --prefix=/usr --with-lisp=sbcl || die + # autoconf + econf \ + --prefix=/usr --with-lisp=sbcl ${myconf} +} + +src_compile() { + emake + use doc && makeinfo dswm.texi +} + +src_install() { + common-lisp-install *.lisp dswm.asd + common-lisp-system-symlink + emake destdir=${D} install + dodoc README NEWS ChangeLog "${FILESDIR}/README.Gentoo" || die + use doc && doinfo dswm.info +} + +pkg_postinst() { + common-lisp_pkg_postinst + cat "${FILESDIR}/README.Gentoo" +} |