summaryrefslogtreecommitdiff
blob: e4e00f99ea80f6aab1459e83f14c44e8bc704344 (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
42
43
44
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-acl-compat/cl-acl-compat-1.2.27.2003.09.19.ebuild,v 1.6 2004/06/24 23:39:50 agriffis Exp $

inherit common-lisp eutils

MY_PV=${PV/.2003/+cvs2003}

DESCRIPTION="Compatibility layer for Allegro Common Lisp"
HOMEPAGE="http://packages.debian.org/unstable/web/cl-acl-compat.html"
SRC_URI="http://ftp.debian.org/debian/pool/main/c/cl-portable-aserve/cl-portable-aserve_${MY_PV}.tar.gz"

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

DEPEND="dev-lisp/common-lisp-controller
	dev-lisp/cmucl-source
	virtual/commonlisp"

S=${WORKDIR}/cl-portable-aserve-${MY_PV}

CLPACKAGE=acl-compat

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-lw-buffering.lisp-gentoo.patch
}

src_install() {
	dodir /usr/share/common-lisp/source/
	cp -r acl-compat/ ${D}/usr/share/common-lisp/source/
	common-lisp-install ${FILESDIR}/acl-compat.asd
	common-lisp-system-symlink
}

pkg_preinst() {
	rm -rf ${ROOT}/usr/lib/common-lisp/*/${CLPACKAGE}
}

pkg_postrm() {
	rm -rf ${ROOT}/usr/lib/common-lisp/*/${CLPACKAGE}
}