blob: e5c5c7b012e9162723a826dc38e8b9e200d535cd (
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
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-icu/cl-icu-0.0_p11.ebuild,v 1.4 2005/05/24 18:48:33 mkennedy Exp $
inherit common-lisp eutils
MY_P=${PN}--dev--${PV/_*/}--patch-${PV/*_p/}
DESCRIPTION="CL-ICU is a common lisp interface to IBM's ICU library."
HOMEPAGE="http://common-lisp.net/project/bese/cl-icu.html"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
# ICU is not binary compatible between *minor* version releases because they
# suffix all the symbols with a version string!
DEPEND="dev-lisp/cl-uffi
dev-lisp/cl-arnesi
=dev-libs/icu-3.2*"
CLPACKAGE=cl-icu
S=${WORKDIR}/${MY_P}
pkg_setup() {
local version=$(icu-config --version)
if [ "${version:0:3}" != "3.2" ]; then
warn "Note: dev-lisp/cl-icu when used against versions other than ICU 3.2 may not work."
fi
}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PV}-gentoo.patch || die
find ${S}/ -type d -name .arch-ids -exec rm -rf '{}' \; &>/dev/null
}
src_install() {
dodir /usr/share/common-lisp/source/cl-icu
dodir /usr/share/common-lisp/systems
insinto /usr/share/common-lisp/source/cl-icu/
doins -r src
common-lisp-install cl-icu.asd
common-lisp-system-symlink
dosym /usr/share/common-lisp/source/cl-icu/cl-icu.asd \
/usr/share/common-lisp/systems/
dodoc README
}
|