blob: 0ba72f3ed7e73208dfdd7bf7cb7c9657f59b0e5e (
plain)
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit common-lisp-2
DESCRIPTION="A portable Common Lisp networking library for undemanding Internet clients"
HOMEPAGE="http://www.cliki.net/trivial-sockets"
SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
DEPEND="doc? ( virtual/texi2dvi )"
RDEPEND="!dev-lisp/cl-${PN}"
src_compile() {
# doesn't work
# makeinfo ${PN}.texi -o ${PN}.info || die "Cannot build info docs"
if use doc ; then
VARTEXFONTS="${T}"/fonts \
texi2pdf ${PN}.texi -o ${PN}.pdf || die "Cannot build PDF docs"
fi
}
src_install() {
common-lisp-install *.{lisp,asd}
common-lisp-symlink-asdf
dodoc README
# doinfo ${PN}.info
use doc && dodoc ${PN}.pdf
}
|