You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lisp/clx/clx-0.7.5.ebuild

37 lines
873 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit common-lisp-3
DESCRIPTION="CLX is the Common Lisp interface to the X11 protocol primarily for SBCL."
HOMEPAGE="http://www.cliki.net/CLX"
SRC_URI="https://github.com/sharplispers/clx/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
DEPEND="sys-apps/texinfo
doc? ( virtual/texi2dvi )"
RDEPEND="!dev-lisp/cl-${PN}"
src_compile() {
cd manual || die
makeinfo ${PN}.texinfo -o ${PN}.info || die
if use doc ; then
VARTEXFONTS="${T}"/fonts \
texi2pdf ${PN}.texinfo -o ${PN}.pdf || die
fi
}
src_install() {
common-lisp-install-sources *.lisp debug demo extensions tests
common-lisp-install-asdf
dodoc NEWS CHANGES README*
doinfo manual/${PN}.info
use doc && dodoc manual/${PN}.pdf
}