summaryrefslogtreecommitdiff
blob: 86edddc99d3035fa8a47b6ea219e3f2bd669a8cb (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-html-parse/cl-html-parse-1.0.ebuild,v 1.2 2006/07/25 04:53:36 mkennedy Exp $

inherit common-lisp

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="virtual/commonlisp
	dev-lisp/common-lisp-controller"

CLPACKAGE=cl-html-parse

S=${WORKDIR}/${PN}

src_unpack() {
	unpack ${A}
	sed -i s,http-parse,html-parse,g ${S}/cl-html-parse.asd
}

src_install() {
	insinto $CLSOURCEROOT/$CLPACKAGE/dev
	doins dev/*.lisp
	common-lisp-install *.asd
	common-lisp-system-symlink
	dohtml -r dev/examples
	dodoc COPYING dev/README
}