summaryrefslogtreecommitdiff
blob: 716eb3aa78c1a03e8ae370c0a8721d4b0e2e7264 (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
38
39
40
41
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2
inherit common-lisp-3 eutils toolchain-funcs

DESCRIPTION="High-level Common Lisp wrapper around libxml2 and libxslt."
HOMEPAGE="http://code.google.com/p/cl-libxml2/"
SRC_URI="http://cl-libxml2.googlecode.com/files/${P}.tar.bz2"

LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~ppc ~x86"
IUSE=""

DEPEND="dev-libs/libxml2
		dev-libs/libxslt"
RDEPEND="${DEPEND}
		 >=dev-lisp/cffi-0.10.2
		 dev-lisp/iterate
		 dev-lisp/puri
		 dev-lisp/flexi-streams
		 dev-lisp/alexandria
		 >=dev-lisp/garbage-pools-0.1.2
		 dev-lisp/metabang-bind
		 dev-lisp/lift"

src_compile () {
	make -C foreign CC=$(tc-getCC) || die "Cannot build helper library"
}

src_install () {
	common-lisp-install-sources html tree xfactory xoverlay xpath xslt test
	common-lisp-install-asdf

	dolib.so foreign/cllibxml2.so

	dodoc ChangeLog
	docinto examples && dodoc examples/*
}