summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2014-03-09 14:18:16 +0000
committerAndrey Grozin <grozin@gentoo.org>2014-03-09 14:18:16 +0000
commit05637651fe22ba985372842c082114a0ffe70b4e (patch)
treea2470f1448ee455e8015890572cbf02b34614bb7 /dev-lisp/sbcl
parentbump, remove non-python-r1 ebuilds (diff)
downloadhistorical-05637651fe22ba985372842c082114a0ffe70b4e.tar.gz
historical-05637651fe22ba985372842c082114a0ffe70b4e.tar.bz2
historical-05637651fe22ba985372842c082114a0ffe70b4e.zip
Version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux i686 Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r--dev-lisp/sbcl/ChangeLog7
-rw-r--r--dev-lisp/sbcl/Manifest33
-rw-r--r--dev-lisp/sbcl/sbcl-1.1.16.ebuild207
3 files changed, 231 insertions, 16 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 31882c3e719b..84f114b407c9 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/sbcl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.200 2014/01/29 13:37:01 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.201 2014/03/09 14:18:01 grozin Exp $
+
+*sbcl-1.1.16 (09 Mar 2014)
+
+ 09 Mar 2014; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.16.ebuild:
+ Version bump
*sbcl-1.1.15 (29 Jan 2014)
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index ffe2f6863f38..27d2e922a0f5 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -25,6 +25,8 @@ DIST sbcl-1.1.14-source.tar.bz2 4218825 SHA256 671e65a361d835313abab79404c954da5
DIST sbcl-1.1.14-x86-64-linux-binary.tar.bz2 9015692 SHA256 e1ff448f63c1b70145ea49b17040f68b40ff544d1350f585977f515ddfdf22eb SHA512 d0590f2e2ba89f3f33a487d39feb34f2e6b81d75afd05549c50cc5a1c1508267e9becc93bacc8809c5f7aed60df687418c4e61ad8e17b1682025352a7ac51eb4 WHIRLPOOL 5de13765bcdb587c25f86a07380dde3a0282957c2c073f535ca5099179744d4e6fd0a09746cbc3e9724540a2a5f51b1f971bdb8cc6ca46f3cba5403c7e32b2c4
DIST sbcl-1.1.15-source.tar.bz2 4230348 SHA256 1793f9927bfbcbe25066cc8b94ad0542a1a563a16820d028f8cc5520c6b57365 SHA512 f218601189d04082d92a966ae3d56eb709f68ac58ee4569d6bd2c70044d84eae3a18eae39cc411655cd1204c0363c3120a9da37b4bc7906a9d086602d0941e44 WHIRLPOOL e2c9683fd7d8fee58001acc37e5877b445e315704b62654fa0ebc81d5f0484b0839920c540cf556258b72ecd478738e216c32c05f924b2e1397af94bca5ba7e3
DIST sbcl-1.1.15-x86-64-linux-binary.tar.bz2 9274852 SHA256 260a82e40eaff30f6805edcc6ebb05999cc9ad1369c5a68cdcd43e640d9990df SHA512 edbded004ac1dce43481ea96f9b0b3fa2f9d76a55c6d5387a9c958fb92006540d55cdb496bbff0d476adf6cf95b64a4662d3c9536e9c67d0e2feb9b9cf2c2fa7 WHIRLPOOL 46a26c10fc27ca804492b8e29a523200e45d0bfd19bbd91e80e1f7da751c7e8ab6c73dd1fc15b7d4c6c1e377a5c04d5033931546444e1bcfe527136be3484823
+DIST sbcl-1.1.16-source.tar.bz2 4241468 SHA256 dc3294f7fb8725bfd556456665ade9093ed6dacd41c4b004d2990920e90cc310 SHA512 7c3513d7051d20c6f389ff97f608aee9d86fdf3eaf4634fdf465f01ec2d507c45dddcd740963804205de2142e78875fdb510d234c292d88e5a80dc4064dd5fc5 WHIRLPOOL 507ef3a5623c34805284870c92cc56bd670d8e6120db50c788e2b8703c6e2977afcea76174cfa4679ec4506bd51a910c7620fd57fb85079c52eef7be065dd262
+DIST sbcl-1.1.16-x86-64-linux-binary.tar.bz2 9215318 SHA256 4f250285394783b46954a4c6c29ab585022f4a8b29d04b5447d5dc574d4ffc7c SHA512 aa1a5fd51a12f2fa0b9ba5d50a78d54911c9a32d4e437ca7115a1d12451b39d132745f632fd91a615667df28dabfec54f04397137267db235c4c13ef089bae9b WHIRLPOOL 8cdc7cba9ce8e4098d37a744bd39c72847465aa0d1c679cb11116e264f01ef3395bb609d7eab5f8f0c3e2ef6b953833e7161284d8c5ed9a1350eea8ec6d005da
EBUILD sbcl-1.0.55-r1.ebuild 6161 SHA256 764c48efc217326b8a9862bcc4589df7c2e1ba2b164937a6c008bf7850f383fd SHA512 ff9c03ce7aa6f523efd4e4b6b41639cdafc45fa242dfabe59ef8c5d428bb9a6025b44420663ea38fdfc110b2ff84a13bf5bfc62f8a6a4ad65b20e13ac4e92164 WHIRLPOOL 3585987db968443527fb6d31f71c110638855e19915679d7a89ce9024c21e1c400fc7e4b1de2ca67b9aaded423e6d0b6552c09b160c4d9bff7aa92606ced36bd
EBUILD sbcl-1.0.55-r2.ebuild 6230 SHA256 02574bec1fb07d17dd604daa7c4279a5125d0e9362247eaa2bde4ac55d0db607 SHA512 125165bf61e89a98f4796c792bc9c39dd8caa9595253bda3b2d50af762a5a597438966cbb5faa0d2e37563104b97185c88718be3d2df6a8fdb56af7bfe0d00c5 WHIRLPOOL 5f945702055282b0a989001f39b5ceb4de62ec750902018a3421562098298c405f23c855b2a00dd5a02b25aedfe3a92eab3de13a19de98670f15f2ebe6197a22
EBUILD sbcl-1.1.10.ebuild 6789 SHA256 3526bd647f352d15b55a0500c1218cf813d18534c6f5050b7bf55945a17ee306 SHA512 18e63a4d101533c82c7057f5de72dd000fed03d643df98a5405634300b158b78360878822eb2518b2803ac45280c8922b878bcde6f987372caced689c7426e7b WHIRLPOOL a5aaf72387404ebce876e51755166306b3ff093fa539b65d7520eed7764e569d778c9300c351608507a0ef2d877d66306f5047dc60dbebac4a9f4e4db3c202c1
@@ -32,24 +34,25 @@ EBUILD sbcl-1.1.11.ebuild 6784 SHA256 6c13a6a71e0dab20b7a9bba4befb00fefe5ad45b8b
EBUILD sbcl-1.1.12.ebuild 6784 SHA256 47bb8bb75f94a9b7e54a184e100db79e7d440caad96b542873a0a6736d043e5c SHA512 49b483291e4c8e207fff4eafa31c883d65294239dd1f3e559d122fd0cd498998a378aa76aba914a6acf964acb7b9c428f19c2a704cdb0311f52890dc808e514f WHIRLPOOL 978b5e3bd8da569e3162acc59eb86553f38201fe221c3831977085834bc1248a5f7d6d6edb11e0dbafb863acae5e207ff0477b57e3b4600796fb876d264b94b4
EBUILD sbcl-1.1.14.ebuild 6886 SHA256 6590b2fc6bfab1d9b8f1cf280e72a01d1419ad4bf439319add534b271c747e83 SHA512 4b81f167cdc61ef4f0116f6a6fa95ce50a2e4909c81ed8e97a045bdca41babca8249742d7f6139439cd208aefb55c0781b3c258ab017d98bc58f7b0f29a9b4bd WHIRLPOOL 2ff2c18ef1c3a6d322b2f342a6f320043fbb2861555dbfb0e02692ebc830a323a4c95da0976af91b1633227c4f1362a77ba3ffd069e4e85edab1f8e6efe7ce46
EBUILD sbcl-1.1.15.ebuild 6886 SHA256 66da6a3f0d6c3c6ae713f5285de69bd82eb0cae3d73d40cfb54388ce3e046419 SHA512 07ef57b521b97933b2c47f33e33cf05566de98524e5e3c02148cc336b1946b5015bb258193d73c5f52b5c3046c7102db543d32073fdae0064796d4f27656a89d WHIRLPOOL a0f6dae5a08cf7a580dc003a260d1def659ffbe033a888e554d32c92e9329ffb8f9c638c205aae9af9bbbd0824fb87c3438dc01ff1c61e9ecd3f7d6fff0fd04c
-MISC ChangeLog 53474 SHA256 cc007daee527906a0902333f05719ab23c8ce4539fdb9c5903e01dcde62035bf SHA512 d80c4053a9407e50671697f1fcc396cb1a320fa38048736aab6e64e4560561617bc8367e19f8bd1cc01b10e677bcf36c97b275a6f9aef57e971d777c150fbb9a WHIRLPOOL a88681d3712aa1c59ec080045d648dd6b1fb0d2a9d77208405aa63fb342a91e300fd11b2253e0730f07a25b9af79af6bd3c00a4998aadd75ff7873aa1d91d45a
+EBUILD sbcl-1.1.16.ebuild 6886 SHA256 1a7654de5b78618224fa88508af1c2eef11ce894835abce55474b9849327a0ca SHA512 4103a075b9708aa267ed34a3e314fcfbd7a29734695e200f6138544a0673a29c51ddb3363f84497fcb5c5aef6ee8c6546a46df9d7d815a85705e8b87d7f30fc7 WHIRLPOOL cf39987e7cd36cdb96de692af1979ac54b599c7f23a7e351d7afe0e1cfc1b798b9b462f649d2c6f68dfaa2aefd746d344fe5e4ac942457129c4ed310df110d36
+MISC ChangeLog 53588 SHA256 eeb3108e8b1addf3848af62fba468ac2e5b09124dc406f4dacde40953979bae2 SHA512 13954392a20aad4f3d579eab3b7eac9c163dae2984abdc7008485f40fde53c91fb271d807407395f122dba9aab3eb8f04a674b838c8e683905d09068226ed2ef WHIRLPOOL 16ab3f08d4e6c1595502089377e5165eabee75940985728f3962eefcc557757bce5daa8aced763afefd73a6a6167d304d82facab35c23461e952a0af09c7b261
MISC metadata.xml 1676 SHA256 17fb0c325844368c649a311f15fbb53a87e5ef987021c52424ffa647745101f3 SHA512 54f12b8385602a6f26b35bb63cbfb0414788e899bc2f5240f60ce249d8ac914c1e236b8d66cee893eac1c3602661869a4333223fa4ce043bd284bde51fa99512 WHIRLPOOL 90a7306f698aa56ab618874f1d325bd3bb789961675d4b0728744abff152bfb6e8cb7303c3cc063782e0411ce27551527c313b404846dadbe2638c5ea086e2f1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQJ8BAEBCABmBQJS6QIaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJTHHY1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz
-QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MDtoP/1hKyryuHHG73ENBxJGAg/Gh
-J5nqJEJCiBzFpwY9Bgp0mq7Kl9NZwgtt+4qz/9q3WL+oaHs7VDUN9+H05n4PSyR/
-D+zsnd7g2yJ12l5BidElzLtN4ZIHTaZ92qsM2lA74RdB0Z0gdbJnqPCF4gHoP4o/
-cwyZw5gwzWhpm2GVzcF2/oQllOnxtSqbZkrKDUwYgDl9gmgIHKZq4UlvYPhHBunk
-qRjtserOj6dfsHHQAOk1Dn3H2CgxvBLKqfnfqrxdQewJvRSQrjr033VmzNvpubmU
-Zy1CGaf9zjLYpHvrpzIAeSRH9NdURY45r3Qli9AMlc0qgcZuv+TwYQBGbFNXOvwJ
-PzfuWgdUkHpdCeN1/qKea4e1j+zPqebz1QROkKowjOwIgMHi9bZkt0dUJHL4VEgO
-9+fDgkb9flhAAJTeA3LTRw4+S7N5BculRNjqOTlYgaBOugxJ1BuH/CcQpq0H3hLE
-E0R2ao1E5lo2e1yK7/kGJDkkm6/Fq4C24AsGcCl+gdwajsZ9fpcGFxqEF/NNwxT2
-DEuHHKsF4vDbdBecmGJs4AB8B4IYtYn0LcL4aCgQU1qUenfQBeDwLNRmVYvOg1S/
-HM9htERb980JwBpBo2Uha+GUIU9ivFXBwwcUefiQfb6dwxFdP9AgRYldb4m8WG7W
-LpJB3EB92yskWkkfk9xc
-=HjQz
+QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MScYQAIc5gUXbX0VEvLsq6S/4PRzm
+I1jhdsC1JRVza33LlKL/Y+xnV2LHL9/1WjgtSGj0AgoDKMnr2octwJ6njquy+3Jh
+jKyCxMsMvIrf74l2q09OGyyEO8xS58ePhqAwqsvX7VVpOmvRb8Vh5vjuvN98bXtb
+rP3pyex/P8ze/OJigQPyh5d8lxzegtTAPl3hgCelFpmhRgJz9HtCn4Wff1IYJgKt
+90NhWsjDPkzmHumq0IvkjAAuEMeo7e0HD5Kt+A25dlwqfvsp2UxWdG5EPZOrWLNd
+cmwEw0bG6yQZiIVefVruO8G05BkZA+eQ4uXPs0dJIB6QAIYFg43Dy+9BYYrD7MT2
+5uvcxSkRtHJ66wRrrpSy9RWy9KUSj1b95Kj5wS/lw2B7QjRfKPZ5Cqjb6OYNehu4
+1nvwCJ3eanOaj5xD3pjp2iTwiPcca3PwYyUp5MGdiOMijeh1cU13Cm2V9orjfwnW
+5kc+6ckU3FGQLg5eJHYq7eTJtubyPp4KjC8V5IX70kDdg6F8OhwAI8B0GY/t8tNX
+sXGcO0xLeHbi6oVhnaL7b+LsGBQtxM27+x1wQHeBDT5WQXt3J19/2qGsXvBhAHOz
+FCZmfy45wpJbqly6nQEJGY0y2HozAnXRFLYDTBR/uS35wju5QDslTZ2CDBGyKWCp
+eqcwdlRhKLblELN5kc7J
+=12u6
-----END PGP SIGNATURE-----
diff --git a/dev-lisp/sbcl/sbcl-1.1.16.ebuild b/dev-lisp/sbcl/sbcl-1.1.16.ebuild
new file mode 100644
index 000000000000..bbd24fa68b1d
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-1.1.16.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.16.ebuild,v 1.1 2014/03/09 14:18:01 grozin Exp $
+
+EAPI=5
+inherit multilib eutils flag-o-matic pax-utils
+
+#same order as http://www.sbcl.org/platform-table.html
+BV_X86=1.0.58
+BV_AMD64=1.1.16
+BV_PPC=1.0.28
+BV_SPARC=1.0.28
+BV_ALPHA=1.0.28
+
+DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
+HOMEPAGE="http://sbcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
+ x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
+ amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
+ sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+ alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="debug doc source +threads +unicode zlib"
+
+CDEPEND=">=dev-lisp/asdf-2.33-r3:="
+DEPEND="${CDEPEND}
+ doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
+RDEPEND="${CDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
+
+# Disable warnings about executable stacks, as this won't be fixed soon by upstream
+QA_EXECSTACK="usr/bin/sbcl"
+
+CONFIG="${S}/customize-target-features.lisp"
+ENVD="${T}/50sbcl"
+
+# Prevent ASDF from using the system libraries
+CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
+ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
+
+usep() {
+ use ${1} && echo "true" || echo "false"
+}
+
+sbcl_feature() {
+ echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
+}
+
+sbcl_apply_features() {
+ cat > "${CONFIG}" <<'EOF'
+(lambda (list)
+ (flet ((enable (x) (pushnew x list))
+ (disable (x) (setf list (remove x list))))
+EOF
+ if use x86 || use amd64; then
+ sbcl_feature "$(usep threads)" ":sb-thread"
+ fi
+ sbcl_feature "true" ":sb-ldb"
+ sbcl_feature "false" ":sb-test"
+ sbcl_feature "$(usep unicode)" ":sb-unicode"
+ sbcl_feature "$(usep zlib)" ":sb-core-compression"
+ sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
+ cat >> "${CONFIG}" <<'EOF'
+ )
+ list)
+EOF
+ cat "${CONFIG}"
+}
+
+src_unpack() {
+ unpack ${A}
+ mv sbcl-*-linux sbcl-binary || die
+ cd "${S}"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/gentoo-fix_install_man.patch
+ epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
+ # bug #468482
+ epatch "${FILESDIR}"/concurrency-test.patch
+ # bug #486552
+ epatch "${FILESDIR}"/bsd-sockets-test.patch
+
+ # To make the hardened compiler NOT compile with -fPIE -pie
+ if gcc-specs-pie ; then
+ einfo "Disabling PIE..."
+ epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch
+ fi
+
+ cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
+
+ use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
+
+ # Some shells(such as dash) don't have "time" as builtin
+ # and we don't want to DEPEND on sys-process/time
+ sed "s,^time ,," -i make.sh || die
+ sed "s,/lib,/$(get_libdir),g" -i install.sh || die
+ # #define SBCL_HOME ...
+ sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
+
+ find . -type f -name .cvsignore -delete
+}
+
+src_configure() {
+ # customizing SBCL version as per
+ # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
+ echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
+
+ # applying customizations
+ sbcl_apply_features
+}
+
+src_compile() {
+ local bindir="${WORKDIR}"/sbcl-binary
+
+ strip-unsupported-flags ; filter-flags -fomit-frame-pointer
+
+ if host-is-pax ; then
+ # To disable PaX on hardened systems
+ pax-mark -C "${bindir}"/src/runtime/sbcl
+ pax-mark -mr "${bindir}"/src/runtime/sbcl
+
+ # Hack to disable PaX on second GENESIS stage
+ sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \
+ "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
+ fi
+
+ # clear the environment to get rid of non-ASCII strings, see bug 174702
+ # set HOME for paludis
+ env - HOME="${T}" \
+ CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
+ CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
+ GNUMAKE=make ./make.sh \
+ "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
+ || die "make failed"
+
+ # need to set HOME because libpango(used by graphviz) complains about it
+ if use doc; then
+ env - HOME="${T}" \
+ CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
+ ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
+ make -C doc/manual info html || die "Cannot build manual"
+ env - HOME="${T}" \
+ CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
+ ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
+ make -C doc/internals info html || die "Cannot build internal docs"
+ fi
+}
+
+src_test() {
+ ewarn "Unfortunately, it is known that some tests fail eg."
+ ewarn "run-program.impure.lisp. This is an issue of the upstream's"
+ ewarn "development and not of Gentoo's side. Please, before filing"
+ ewarn "any bug(s) search for older submissions. Thank you."
+ time ( cd tests && sh run-tests.sh )
+}
+
+src_install() {
+ # install system-wide initfile
+ dodir /etc/
+ cat > "${D}"/etc/sbclrc <<EOF
+;;; The following is required if you want source location functions to
+;;; work in SLIME, for example.
+
+(setf (logical-pathname-translations "SYS")
+ '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
+ ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
+
+;;; Setup ASDF2
+(load "/etc/common-lisp/gentoo-init.lisp")
+EOF
+
+ # Install documentation
+ unset SBCL_HOME
+ INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
+ sh install.sh || die "install.sh failed"
+
+ # rm empty directories lest paludis complain about this
+ find "${D}" -empty -type d -exec rmdir -v {} +
+
+ if use doc; then
+ dohtml -r doc/manual/
+ doinfo doc/manual/*.info*
+ dohtml -r doc/internals/sbcl-internals
+ doinfo doc/internals/sbcl-internals.info
+ docinto internals-notes && dodoc doc/internals-notes/*
+ else
+ rm -Rv "${D}/usr/share/doc/${PF}" || die
+ fi
+
+ dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
+
+ # install the SBCL source
+ if use source; then
+ ./clean.sh
+ cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
+ fi
+
+ # necessary for running newly-saved images
+ echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
+ echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
+ doenvd "${ENVD}"
+}