blob: 05a9671e85cda36d2391c4d8859027fe2b9e4d1c (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sha1/cl-sha1-1.0.ebuild,v 1.2 2003/10/17 16:33:03 mkennedy Exp $
inherit common-lisp
DESCRIPTION="Common Lisp package for SHA1 Message Digests"
HOMEPAGE="http://www.cs.rice.edu/~froydnj/lisp/
http://www.cliki.net/sb-sha1"
SRC_URI="mirror://gentoo/sb-sha1-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="dev-lisp/common-lisp-controller
virtual/commonlisp"
CLPACKAGE=sb-sha1
S=${WORKDIR}/sb-sha1
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/cl-sha1-gentoo.patch
}
src_install() {
common-lisp-install *.asd *.lisp
common-lisp-system-symlink
dodoc README
}
pkg_preinst() {
rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
}
pkg_postrm() {
rm -rf /usr/lib/common-lisp/*/${CLPACKAGE} || true
}
|