summaryrefslogtreecommitdiff
blob: 567f812e0b32ee0c2591e85918b09df0b8358aab (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
# Copyright 1999-2004 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.14.8.ebuild,v 1.3 2004/06/24 23:46:05 agriffis Exp $

inherit common-lisp eutils

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

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-lisp/common-lisp-controller
	virtual/commonlisp
	dev-lisp/cl-terminfo
	dev-lisp/cl-uffi"

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
}