summaryrefslogtreecommitdiff
blob: b12777996bc0caa24b9c07a0ca570f67a41b9ab3 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-pxml/cl-pxml-20030325.ebuild,v 1.3 2003/09/11 01:10:52 msterret Exp $

inherit common-lisp

DESCRIPTION="Common Lisp XML parser"
HOMEPAGE="http://opensource.franz.com/xmlutils/index.html"
SRC_URI="mirror://gentoo/xmlutils-${PV}.tar.gz"
LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="dev-lisp/common-lisp-controller
	virtual/commonlisp
	dev-lisp/cl-acl-compat"

CLPACKAGE=pxml

S=${WORKDIR}/xmlutils

src_unpack() {
	unpack ${A}
	cd ${S}
	# this is a bit beyond me at this point
	patch -p1 <${FILESDIR}/pxml-gentoo.patch || die
	for i in *.cl ; do mv $i ${i/.cl/.lisp} ; done
}

src_install() {
	common-lisp-install pxml?.lisp ${FILESDIR}/pxml.asd
	# pxml-test.lisp
	common-lisp-system-symlink
	dodoc ChangeLog pxml.txt pxml.htm
}