blob: b6bf606faa4561e0ec15dfe02fa65298f8a9ed17 (
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
43
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit common-lisp-3 eutils multilib
MY_PN=cl+ssl
MY_P=${MY_PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}
DESCRIPTION="A simple Common Lisp interface to OpenSSL."
HOMEPAGE="http://common-lisp.net/project/cl-plus-ssl/"
SRC_URI="http://common-lisp.net/project/cl-plus-ssl/download/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
IUSE=""
RDEPEND=">=dev-lisp/cffi-0.9.2_p20080723
dev-lisp/trivial-gray-streams
dev-lisp/flexi-streams
dev-libs/openssl"
CLPACKAGE=${MY_PN}
CLSYSTEMS=${MY_PN}
S="${WORKDIR}"/${MY_P}
src_unpack() {
unpack ${A}
}
src_prepare() {
rm "${S}"/Makefile || die
sed -i "s,/usr/lib,/usr/$(get_libdir),g" "${S}"/${MY_PN}.asd || die
}
src_install() {
common-lisp-install-sources *.lisp
common-lisp-install-asdf
dohtml index.{css,html}
}
|