blob: e6653d1325e4d6195f40b992f3a7908f5db55ffe (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit common-lisp-2
DESCRIPTION="A parser that parses HTML documents and generates a sexp-based representation."
HOMEPAGE="http://www.cl-user.net/asp/libs/cl-html-parse
http://www.cliki.net/CL-HTML-Parse"
SRC_URI="mirror://gentoo/${PN}_${PV}.tar.gz"
LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
S="${WORKDIR}"/${PN}
src_unpack() {
unpack ${A}
sed -i s,http-parse,html-parse,g "${S}"/cl-html-parse.asd
sed -i s,HTTP-PARSE,HTML-PARSE,g "${S}"/dev/README
}
src_install() {
common-lisp-install ${PN}.asd dev/*.lisp
common-lisp-symlink-asdf
dohtml -r dev/examples
dodoc dev/README
}
|