Lines 15-24
Link Here
|
15 |
LICENSE="public-domain" |
15 |
LICENSE="public-domain" |
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
KEYWORDS="~x86" |
17 |
KEYWORDS="~x86" |
18 |
IUSE="" |
18 |
IUSE="source" |
19 |
|
19 |
|
20 |
DEPEND="virtual/motif |
20 |
DEPEND="virtual/motif |
21 |
sys-devel/bc" |
21 |
sys-devel/bc |
|
|
22 |
dev-lisp/gentoo-init" |
22 |
|
23 |
|
23 |
PROVIDE="virtual/commonlisp" |
24 |
PROVIDE="virtual/commonlisp" |
24 |
|
25 |
|
Lines 48-53
Link Here
|
48 |
done |
49 |
done |
49 |
mv "${D}"/usr/doc "${D}"/usr/share/doc/${PF} |
50 |
mv "${D}"/usr/doc "${D}"/usr/share/doc/${PF} |
50 |
mv "${D}"/usr/man "${D}"/usr/share/ |
51 |
mv "${D}"/usr/man "${D}"/usr/share/ |
|
|
52 |
|
53 |
# Install site config file |
54 |
sed "s,@PF@,${PF},g ; s,@VERSION@,$(date +%F),g" \ |
55 |
< "${FILESDIR}"/site-init.lisp.in \ |
56 |
> "${D}"/usr/$(get_libdir)/cmucl/site-init.lisp |
57 |
rm -f "${D}"/etc/lisp-config.lisp |
58 |
dodir /etc/common-lisp/cmucl |
59 |
dosym /etc/common-lisp/cmucl/site-init.lisp /etc/lisp-config.lisp |
60 |
cat > "${D}"/etc/common-lisp/cmucl/site-init.lisp <<EOF |
61 |
(in-package :common-lisp-user) |
62 |
|
63 |
(if (probe-file "/etc/gentoo-init.lisp") |
64 |
(load "/etc/gentoo-init.lisp") |
65 |
(format t "~%;;; Warning: There is no /etc/gentoo-init.lisp file (which should be provided by dev-lisp/gentoo-init")) |
66 |
EOF |
67 |
|
68 |
# Install sources |
69 |
if use source; then |
70 |
dodir /usr/share/common-lisp/source/cmucl |
71 |
(cd src ; find . -name \*.lisp -and -type f | tar --create --file=- --files-from=- ) |\ |
72 |
tar --extract --file=- -C "${D}"/usr/share/common-lisp/source/cmucl |
73 |
fi |
74 |
|
51 |
impl-save-timestamp-hack cmucl || die |
75 |
impl-save-timestamp-hack cmucl || die |
52 |
} |
76 |
} |
53 |
|
77 |
|