summaryrefslogtreecommitdiff
blob: 525763cfb1f354d3c3b4b24e28f050d29b61adb2 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-mel-base/cl-mel-base-0.5.11.ebuild,v 1.2 2005/02/07 21:24:39 mkennedy Exp $

inherit common-lisp eutils

MY_PV=${PV:0:3}-${PV:4}

DESCRIPTION="A Common Lisp networking library for handling e-mail from Maildir, POP3, IMAP and SMTP"
HOMEPAGE="http://codeartist.org/mel/"
SRC_URI="http://dataheaven.dnsalias.net/asdf-install/mel-base_${MY_PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="-*"
IUSE=""

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

CLPACKAGE=mel-base

S=${WORKDIR}/mel-base_${MY_PV}

src_install() {
	insinto ${CLSOURCEROOT}/${CLPACKAGE}/
	doins *.lisp mel-base.asd
	for dir in folders/* lisp-dep protocols; do
		insinto ${CLSOURCEROOT}/${CLPACKAGE}/${dir}
		doins ${dir}/*.lisp
	done
	common-lisp-system-symlink
	dodoc LICENSE
}

# TODO:
# * looks for /etc/mime.types at runtime (determine dep)
# * CLOS-related build failure CMUCL