diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-02-12 09:13:21 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-02-12 09:13:21 +0000 |
commit | 43e3c27dace2a5d95561cae575e8e8d0dff3f0c5 (patch) | |
tree | b8f70a003c2da92e9f475a0fe908686227fc6069 /dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild | |
parent | Bump to 0.5 (Manifest recommit) (diff) | |
download | gentoo-2-43e3c27dace2a5d95561cae575e8e8d0dff3f0c5.tar.gz gentoo-2-43e3c27dace2a5d95561cae575e8e8d0dff3f0c5.tar.bz2 gentoo-2-43e3c27dace2a5d95561cae575e8e8d0dff3f0c5.zip |
Fire in the hole!
Diffstat (limited to 'dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild')
-rw-r--r-- | dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild b/dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild new file mode 100644 index 000000000000..34023c451c72 --- /dev/null +++ b/dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-aima/cl-aima-1.0.2-r1.ebuild,v 1.1 2004/02/12 09:13:12 mkennedy Exp $ + +inherit common-lisp + +DEB_PV=1 + +DESCRIPTION="Common Lisp source code from Peter Norvig's Artificial Intelligence: A Modern Approach" +HOMEPAGE="http://aima.cs.berkeley.edu/ + http://www.norvig.com/ + http://packages.debian.org/unstable/devel/cl-aima.html" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-aima/cl-aima_${PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/c/cl-aima/cl-aima_${PV}-${DEB_PV}.diff.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="dev-lisp/common-lisp-controller + virtual/commonlisp" + +CLPACKAGE=aima + +S=${WORKDIR}/cl-aima-${PV} + +src_unpack() { + unpack ${A} + epatch ${PN}_${PV}-${DEB_PV}.diff +} + +src_install() { + insinto /usr/share/common-lisp/source/aima/ + doins debian/aima.asd aima.lisp + for module in agents language learning logic search uncertainty utilities; do + find ${module} -type f -name \*.lisp -print | while read lisp; do \ + local dir=${D}/usr/share/common-lisp/source/aima/$(dirname ${lisp}) + mkdir -p ${dir} &>/dev/null + cp ${lisp} ${dir} + done + mv ${module}/README.html README-${module}.html && dohtml README-${module}.html + done + common-lisp-system-symlink + dohtml doc/* + do-debian-credits +} |