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

inherit common-lisp-2

DESCRIPTION="R. Scott McIntire's Common Lisp Random Number Library."
HOMEPAGE="http://packages.debian.org/unstable/devel/cl-rsm-random"
SRC_URI="mirror://debian/pool/main/c/cl-${PN}/cl-${PN}_${PV}.tar.gz"

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

RDEPEND="!dev-lisp/cl-${PN}
		dev-lisp/uffi"

S="${WORKDIR}"/cl-${P}

src_compile() {
	make linux || die "Cannot compile FFI glue"
}

src_install() {
	exeinto /usr/$(get_libdir)/${PN}
	doexe random.so
	common-lisp-install *.{lisp,asd}
	common-lisp-symlink-asdf
	dohtml ${PN}.html ob01.jpg
}