commit:     64c1cf3bdf33ff7b3c8f6deac51a661354a11f77
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 22:24:58 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 22:24:58 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=64c1cf3b

x11-wm/stumpwm: Drops old

 x11-wm/stumpwm/stumpwm-0.9.9.ebuild | 103 ------------------------------------
 1 file changed, 103 deletions(-)

diff --git a/x11-wm/stumpwm/stumpwm-0.9.9.ebuild 
b/x11-wm/stumpwm/stumpwm-0.9.9.ebuild
deleted file mode 100644
index ef3ef84..0000000
--- a/x11-wm/stumpwm/stumpwm-0.9.9.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit common-lisp-3 eutils elisp-common autotools
-
-DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp."
-HOMEPAGE="https://stumpwm.github.io/";
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="contrib doc emacs clisp ecl +sbcl"
-
-RESTRICT="strip mirror"
-
-RDEPEND="dev-lisp/cl-ppcre
-               sbcl?  ( >=dev-lisp/sbcl-1.0.32 )
-               sbcl? ( >=dev-lisp/clx-0.7.4 )
-               !sbcl? ( !clisp? ( !ecl? ( >=dev-lisp/sbcl-1.0.32 ) ) )
-               !sbcl? ( !clisp? (  ecl? ( >=dev-lisp/ecls-10.4.1 ) ) )
-               !sbcl? (  clisp? ( >=dev-lisp/clisp-2.44[X,new-clx] ) )
-               emacs? ( virtual/emacs app-emacs/slime )"
-DEPEND="${RDEPEND}
-               sys-apps/texinfo
-               doc? ( virtual/texi2dvi )"
-
-SITEFILE=70${PN}-gentoo.el
-CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}"
-CONTRIBDIR="${CLPKGDIR}/contrib"
-
-get_lisp() {
-       local lisp
-
-       for lisp in "$@" ; do
-               use ${lisp} && echo ${lisp} && return
-       done
-}
-
-do_doc() {
-       local pdffile="${PN}.pdf"
-
-       texi2pdf -o "${pdffile}" "${PN}.texi" && dodoc "${pdffile}" || die
-       cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" 
README.Gentoo || die
-       dodoc AUTHORS NEWS README.md README.Gentoo
-       doinfo "${PN}.info"
-       docinto examples ; dodoc sample-stumpwmrc.lisp
-}
-
-do_contrib() {
-       emake install-modules
-       rm -r "${D}${CONTRIBDIR}"/.git* || die
-}
-
-src_prepare() {
-       # Upstream didn't change the version before packaging
-       sed -i -e 's/:version "0.9.8"/:version "0.9.9"/' "${PN}.asd" || die
-       # Bug 534592. Does not build with asdf:oos, using require to load the 
package
-       sed -i "load-${PN}.lisp.in" -e "s/asdf:oos 'asdf:load-op/require/" || 
die
-       if use contrib ; then
-               # Fix contrib directory
-               sed -i -e "s|@CONTRIB_DIR@|@MODULE_DIR@|" make-image.lisp.in || 
die
-               sed -i -e "s|\~\/.${CLPACKAGE}\.d/modules|${D}${CONTRIBDIR}|" 
Makefile.in || die
-               sed -i -e "s|\${HOME}/\.${CLPACKAGE}\.d/modules|${CONTRIBDIR}|" 
configure.ac || die
-       fi
-       eautoreconf
-}
-
-src_configure() {
-       local moduleconfig
-
-       use contrib && moduleconfig="--with-module-dir=${CONTRIBDIR}/contrib"
-       econf --with-lisp=$(get_lisp sbcl clisp ecl) "${moduleconfig}"
-}
-
-src_compile() {
-       emake -j1
-}
-
-src_install() {
-       common-lisp-export-impl-args $(get_lisp sbcl clisp ecl)
-       dobin stumpwm
-       make_session_desktop StumpWM /usr/bin/stumpwm
-
-       common-lisp-install-sources *.lisp
-       common-lisp-install-asdf ${PN}.asd
-       # Fix ASDF dir
-       sed -i -e "/(:directory/c\   (:directory \"${CLPKGDIR}\")" \
-               "${D}${CLPKGDIR}/load-stumpwm.lisp" || die
-       use doc && do_doc
-       use contrib && do_contrib
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

Reply via email to