summaryrefslogtreecommitdiff
blob: 29ea9475c24e0aa07e8f79706cff37821decb88a (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit common-lisp-2 multilib

PKG="uffi-${PV}"

DESCRIPTION="Portable FFI library for Common Lisp."
HOMEPAGE="http://uffi.b9.com/"
SRC_URI="http://files.b9.com/uffi/${PKG}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

S="${WORKDIR}/${PKG}"

CLSYSTEMS="${PN} ${PN}-tests"

src_unpack() {
	unpack ${A}
	rm "${S}"/Makefile
}

src_install() {
	common-lisp-install *.asd src/*.lisp
	common-lisp-symlink-asdf

	dodoc AUTHORS ChangeLog INSTALL NEWS README \
		TODO doc/uffi.pdf

	tar xfz doc/html.tar.gz -C "${T}"
	dohtml "${T}"/html/*

	for i in examples benchmarks ; do
		docinto ${i}
		dodoc ${i}/*
	done
}