summaryrefslogtreecommitdiff
blob: 8ecbb03c0e8dadaa3bf24d920cfdbf1af5de353d (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
35
36
37
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit common-lisp-2

MY_PV=${PV:0:4}-${PV:4:2}-${PV:6:2}

DESCRIPTION="An implementation of Relax NG schema validation written in Common Lisp."
HOMEPAGE="http://www.lichteblau.com/cxml-rng/"
SRC_URI="http://www.lichteblau.com/${PN}/download/${PN}-${MY_PV}.tgz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND=">=dev-lisp/cxml-${PV}
		>=dev-lisp/cl-ppcre-2.0.0
		>=dev-lisp/cl-yacc-0.2
		>=dev-lisp/parse-number-1.0
		dev-lisp/cl-base64"

S="${WORKDIR}"/${PN}-${MY_PV}

src_unpack() {
	unpack ${A} && cd "${S}"

	rm "${S}"/GNUmakefile
}

src_install() {
	common-lisp-install *.{lisp,asd,rng,rnc}
	common-lisp-symlink-asdf
	dodoc README NEWS NIST *TEST
	dohtml -r doc/* || die "Cannot install HTML documentation"
}