summaryrefslogtreecommitdiff
blob: 967ffbca4f0d28b803a83a0707ca5863f6b087e7 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-linedit/cl-linedit-0.15.12.ebuild,v 1.4 2005/05/24 18:48:33 mkennedy Exp $

inherit common-lisp eutils

DESCRIPTION="Linedit is a readline-style library written in Common Lisp that provides customizable line-editing features."
HOMEPAGE="http://www.common-lisp.net/project/linedit/"
SRC_URI="http://common-lisp.net/project/linedit/files/linedit_${PV}.tar.gz"

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

DEPEND="dev-lisp/cl-terminfo
	dev-lisp/cl-uffi
	dev-lisp/cl-osicat"

CLPACKAGE=linedit

S=${WORKDIR}/linedit_${PV}

src_unpack() {
	unpack ${A}
	# adds uffi-loader.lisp, removes building .so files
	epatch ${FILESDIR}/${PV}-linedit.asd-uffi-glue-gentoo.patch
	cp ${FILESDIR}/${PV}-Makefile ${S}/Makefile
}

src_compile() {
	make || die
}

src_install() {
	common-lisp-install *.lisp linedit.asd version.lisp-expr
	common-lisp-system-symlink
	dodoc LICENSE
	exeinto /usr/lib/linedit
	doexe *.so
}