diff options
Diffstat (limited to 'dev-lisp/clx/clx-0.7.4-r1.ebuild')
-rw-r--r-- | dev-lisp/clx/clx-0.7.4-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-lisp/clx/clx-0.7.4-r1.ebuild b/dev-lisp/clx/clx-0.7.4-r1.ebuild new file mode 100644 index 000000000000..e229aaf004b9 --- /dev/null +++ b/dev-lisp/clx/clx-0.7.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit common-lisp-3 eutils + +DESCRIPTION="CLX is the Common Lisp interface to the X11 protocol primarily for SBCL." +HOMEPAGE="http://www.cliki.net/CLX" +SRC_URI="http://common-lisp.net/~abridgewater/dist/${PN}/${P}.tgz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="sys-apps/texinfo + doc? ( virtual/texi2dvi )" +RDEPEND="!dev-lisp/cl-${PN}" + +src_prepare() { + rm -v {exclcmac,sockcl,defsystem,provide,cmudep}.lisp || die + eapply "${FILESDIR}"/gentoo-fix-asd.patch + eapply "${FILESDIR}"/gentoo-fix-dep-openmcl.patch + eapply "${FILESDIR}"/gentoo-fix-unused-vars.patch + eapply "${FILESDIR}"/gentoo-fix-obsolete-eval-when.patch + eapply "${FILESDIR}"/gentoo-fix-dynamic-extent-sbcl-1.0.45.patch + eapply_user +} + +src_compile() { + cd manual || die + makeinfo ${PN}.texinfo -o ${PN}.info || die "Cannot compile info docs" + if use doc ; then + VARTEXFONTS="${T}"/fonts \ + texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot build PDF docs" + fi +} + +src_install() { + common-lisp-install-sources *.lisp debug demo test + common-lisp-install-asdf + dodoc NEWS CHANGES README* + doinfo manual/${PN}.info + use doc && dodoc manual/${PN}.pdf +} |