summaryrefslogtreecommitdiff
blob: 862ed0074c2db84ae0f780209ef8080f1da20135 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-rsm-rsa/cl-rsm-rsa-1.3.20040328.ebuild,v 1.6 2008/03/27 16:24:54 armin76 Exp $

inherit common-lisp eutils

MY_PV=${PV:0:3}
CVS_PV=${PV:4:4}.${PV:8:2}.${PV:10}

DESCRIPTION="McIntire's Common Lisp RSA Library"
HOMEPAGE="http://packages.debian.org/unstable/devel/${PN}"
SRC_URI="mirror://gentoo/cl-rsm-rsa_${MY_PV}+cvs.${CVS_PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~sparc ~x86"
IUSE=""
DEPEND="dev-lisp/cl-rsm-mod
	dev-lisp/cl-rsm-string
	dev-lisp/cl-plus"

CLPACKAGE=rsm-rsa

S=${WORKDIR}/cl-rsm-rsa-${MY_PV}+cvs.${CVS_PV}

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-defconstant-gentoo.patch || die
}

src_install() {
	common-lisp-install *.lisp *.asd
	common-lisp-system-symlink
	dodoc copying copyright
	dohtml *.html *.jpg
	do-debian-credits
}