# ChangeLog for dev-lisp/sbcl
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.98 2006/12/19 18:20:37 mkennedy Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.99 2007/01/18 04:09:58 mkennedy Exp $
+
+*sbcl-1.0.1 (18 Jan 2007)
+
+ 18 Jan 2007; <mkennedy@gentoo.org> +sbcl-1.0.1.ebuild:
+ New upstream version.
19 Dec 2006; Matthew Kennedy <mkennedy@gentoo.org> sbcl-1.0.ebuild:
Remove dependency on dev-lisp/cl-asdf.
RMD160 6eace9d24ddade1e53900880c944f332b32e3b10 files/vanilla-module-install-source-gentoo.patch 471
SHA256 af86a188c77abc5624744683ee91e4414554ebd0f83b9d1b7dcb01468316cd52 files/vanilla-module-install-source-gentoo.patch 471
DIST sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 SHA1 3269ee0e07770c69e5420113d9aba24918058d7f SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660
-DIST sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+DIST sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 RMD160 f63fa430a6164a29a753ba250ae40ca4ffa1246d SHA1 3f9d48cbdf3862c559913e3688ff37d7d899999b SHA256 1dd70d834adccbb4b11226429863e53f668ad689aab0df0ee54fd96a682b5ba1
DIST sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee SHA1 67b7000af7db63cc421096be652b99fd27b251e6 SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129
DIST sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 RMD160 41015dcfb41caf93b54a02a0f55eec994309accf SHA1 dc3ccb22dae86e8bacacf3013eb3aae8645c3109 SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d
-DIST sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
+DIST sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 RMD160 24346843ef9896bec7e7fbd013db8edaf77c414a SHA1 d1fc17d83452ca9220a1b202c140c71b4aa4bdfe SHA256 65a457c1bc33775f629dff39a72eac68dd07815b8786cbedfbe02e9bae56479d
DIST sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 RMD160 c60dba2a0278acf787d53a93ebac4de03c1d5ed8 SHA1 98143a20f5c04fd6456f5cfaa94182ab7d9e6576 SHA256 5cb563b19d1dd828e55bde9763404f5b908c9f5a043ba8c443415291b969b3d9
DIST sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 RMD160 7a544bedebd4389eb75fe67bb48c0d25f677bc0d SHA1 9932277a070883e693d9efd7a5f54fb4c11314dd SHA256 3db39ce36b1efc42cf99fc1be355aa8c0107e60ffb56f50bb001cc9b5cab70eb
DIST sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927 RMD160 039968db40389a481da29dcc310aa05a50ee6ac6 SHA1 8a5e63e9bf0de8ed738dab9c939dac3e51698984 SHA256 f1add7f9c76e1ea45f17b752a62f5ad5d1fb4d27d06ae5ebfed05629bba9fafa
DIST sbcl-0.9.17-source.tar.bz2 2783569 RMD160 2c41d134e9fc748f51f3ccab350cc9434e3841ec SHA1 ab0a7e685de51519ddd660eab16e9779f99fb2d7 SHA256 72eb9db7edc1dde2b7a14699320ad4358247cd6d6eed48ef4e6375e94f6dec77
DIST sbcl-0.9.18-source.tar.bz2 2783861 RMD160 5044930eafe151d006485bf3ccf3fa30c3c4e0f7 SHA1 e5f1a71ed1ad0a2b0062a6172ab3ca24c8777571 SHA256 860ad56be395f1053d9f24c592a9e40c196d504ee9d59a7bdd4379eac03ee011
-DIST sbcl-0.9.3-html.tar.bz2 113165
-DIST sbcl-0.9.3-source.tar.bz2 2582754
-DIST sbcl-0.9.4-html.tar.bz2 115151
-DIST sbcl-0.9.4-source.tar.bz2 2607058
+DIST sbcl-0.9.3-html.tar.bz2 113165 RMD160 13a5990c18f3d38b99211317083298860a8ffce8 SHA1 3f404441276f641d3624fb73ed2312425fee2163 SHA256 70ed9dfb0812f68181db16afa05ece10c249fb522d2a945e684fe289fa032ee9
+DIST sbcl-0.9.3-source.tar.bz2 2582754 RMD160 ba1b0dad70328593331b1b1e1f50af41ed4eb3e1 SHA1 b1ecfbc16af90475a7371f768fa79200bf2ed82b SHA256 afb428f2250bcc83111c673a46c9916e7062c263c6d1077c9498830412f650d3
+DIST sbcl-0.9.4-html.tar.bz2 115151 RMD160 0b1f8b53b16c36a7fdec3c2e950aeac1d019ad21 SHA1 3c3365dc46684a176618f6a895845f9e6303c9f7 SHA256 16e2fe96ba8a6285fad2a864fa7f3e3273d9b0c476604042afb57de0526001d7
+DIST sbcl-0.9.4-source.tar.bz2 2607058 RMD160 fb81388e80c4014d9a1e3715b73add598ac14d92 SHA1 ee2b3308d869518cfd422b34e5279728e987a8cd SHA256 026590ad6d886e14543a5af3283363cbf62e464d361a5358843cebaaffbb7b0d
DIST sbcl-1.0-source.tar.bz2 2891666 RMD160 1a192869acec8eb5605e1dbd46a53fc05f977479 SHA1 7c9d0cafff57eb632fd566050c78f557eb399976 SHA256 5d33383963ef8ae3ff1be7871aeb0df196923ab5b78513aa666214b52c2f5cfb
+DIST sbcl-1.0.1-source.tar.bz2 2902375 RMD160 c86b352f547f3526288704e1a74463718ba11fe9 SHA1 ddd1a7595ea83ed1655c716fc7c967ee8ff13878 SHA256 91ca14366b1363d3fa745a91a93005eaca74235d9225936d80b1d34116e76e5a
EBUILD sbcl-0.9.17.ebuild 5804 RMD160 fb12a1652a879b37511ee4122fed499d3d0f694c SHA1 3ab08f7d660386ff8912dfa7a7257500a53b7062 SHA256 38fd74085b568644932653a8775ebb2a8188b50fb79537a0130a70ce45baaf6b
MD5 1e67e6783921dc2d8f067832b3145e73 sbcl-0.9.17.ebuild 5804
RMD160 fb12a1652a879b37511ee4122fed499d3d0f694c sbcl-0.9.17.ebuild 5804
MD5 845ba0e216f2adf5eb504a5eb06b9037 sbcl-0.9.4.ebuild 5046
RMD160 363ce109869cf85377908417bcf351ddbd73a6f4 sbcl-0.9.4.ebuild 5046
SHA256 4a1654e23a4bb8b0702ce75af99b86d158582885689691c5f3931346518a3523 sbcl-0.9.4.ebuild 5046
+EBUILD sbcl-1.0.1.ebuild 5427 RMD160 eb031178203120f98bbef8d94f403c74597ea3d9 SHA1 fe11e87b78978988481cdb6c55703689bd895bdd SHA256 e2787852708af0e63710428e678ad7ef7b93d252e0e19e6e7d7bc6e40b842b2d
+MD5 32cc3aad1ed35ac2c268bf0ccba9af35 sbcl-1.0.1.ebuild 5427
+RMD160 eb031178203120f98bbef8d94f403c74597ea3d9 sbcl-1.0.1.ebuild 5427
+SHA256 e2787852708af0e63710428e678ad7ef7b93d252e0e19e6e7d7bc6e40b842b2d sbcl-1.0.1.ebuild 5427
EBUILD sbcl-1.0.ebuild 5425 RMD160 8ab9c2bb206169f8a5e7a316a28d786470d0c427 SHA1 1cd1cc9bbb52767b6f5d21fa5c563f4d437a0bf3 SHA256 38deafa6bf231e3c6b346301c3cffb29cdeefa6ac14a60f5c1f27c51e7eb9acd
MD5 61723d5f5f8da5cf63c6286fe313b3a2 sbcl-1.0.ebuild 5425
RMD160 8ab9c2bb206169f8a5e7a316a28d786470d0c427 sbcl-1.0.ebuild 5425
SHA256 38deafa6bf231e3c6b346301c3cffb29cdeefa6ac14a60f5c1f27c51e7eb9acd sbcl-1.0.ebuild 5425
-MISC ChangeLog 33461 RMD160 ea240f361104a101b1e5edf69accaa42759bc88c SHA1 2a312766b18a93136caad5f5dbe1661893381b2e SHA256 cd0445a52d973b0d3cb08fb24f7a59f63ebfa7d22d1dc695e33912a2e6d689a4
-MD5 72b3532733118a3ebf3ea1a5a4681106 ChangeLog 33461
-RMD160 ea240f361104a101b1e5edf69accaa42759bc88c ChangeLog 33461
-SHA256 cd0445a52d973b0d3cb08fb24f7a59f63ebfa7d22d1dc695e33912a2e6d689a4 ChangeLog 33461
+MISC ChangeLog 33570 RMD160 7846857e4a74e6260b2c87ef515579b72c832777 SHA1 db97bae5d4f6de4a06f81607c1102cec33f62d97 SHA256 c32f83d394d5aced73234d68e2331eab81b7d6022f0cfc678f4de77643ccb379
+MD5 701f6bf88bf3e942e76030fd93112bfd ChangeLog 33570
+RMD160 7846857e4a74e6260b2c87ef515579b72c832777 ChangeLog 33570
+SHA256 c32f83d394d5aced73234d68e2331eab81b7d6022f0cfc678f4de77643ccb379 ChangeLog 33570
MISC metadata.xml 1004 RMD160 79462681370688e5a3700593b5b6c9401bb7ccde SHA1 b800796ace836a62cd9d500487f3c6e21d89f5f8 SHA256 4cb74fa43cdc4e8291063beae14ca74fb605508225913474763ad3fb7e6985d7
MD5 276b2c3efa0ff299306d94ad4704a9e2 metadata.xml 1004
RMD160 79462681370688e5a3700593b5b6c9401bb7ccde metadata.xml 1004
MD5 a06ebede7f2085f953d3605b262c09a0 files/digest-sbcl-0.9.18 2059
RMD160 737ca438ff9c8ac9cd5c7b93e93ddd897ad7f0a2 files/digest-sbcl-0.9.18 2059
SHA256 e2888680a277413c8bdcae57978ace786501ad0db10ef0cfc9740fd4afd01519 files/digest-sbcl-0.9.18 2059
-MD5 38cd9d5708dcd2d8b977df6c0cd09932 files/digest-sbcl-0.9.3 1199
-RMD160 b43f368972d36fba03d2f8cf77fa4aa17032bade files/digest-sbcl-0.9.3 1199
-SHA256 b638fadfc63bbb56450912ea81254fe7247f380784bf192fbaccb04ad9207f4d files/digest-sbcl-0.9.3 1199
-MD5 6bc193cb6d6551be1c08d61676d8bd35 files/digest-sbcl-0.9.4 1199
-RMD160 0ba609ac3dc9d32cfb2fd03e215186a6e42cbe2b files/digest-sbcl-0.9.4 1199
-SHA256 227a2c49bf0029f271bb40fac5c2f46ed5ef34c1e45b83d553b7d9b64f4cd5e6 files/digest-sbcl-0.9.4 1199
+MD5 92e910866f7b4cf7ba251f7f9414cfb1 files/digest-sbcl-0.9.3 1993
+RMD160 07293514062073b23cbf36b1b6ec038b4249a254 files/digest-sbcl-0.9.3 1993
+SHA256 6861a91360bb3e6b155780a73da1a11fe09532d3a77304aef8d36e3a41884514 files/digest-sbcl-0.9.3 1993
+MD5 21a772a7abd508a585dd60f471d5f375 files/digest-sbcl-0.9.4 1993
+RMD160 da29513e5e743420a590f5b27a0d36cdd2a2da21 files/digest-sbcl-0.9.4 1993
+SHA256 3cbd2b713612fa1fd17afb1fd9d5837bf3f6a43262fd67bc21901c7f3c71246c files/digest-sbcl-0.9.4 1993
MD5 11d3e0536ae7f037029d12c7e93cf0a5 files/digest-sbcl-1.0 2050
RMD160 6dc6ac02fa63ec683ca93fa5aeaaaf020bd1b536 files/digest-sbcl-1.0 2050
SHA256 b0684083b96c6706dfa877e082e04d5ee49bfcc3808d77743f903036158f6edb files/digest-sbcl-1.0 2050
+MD5 334245fd3e26cb19c7e5fc820f022a1a files/digest-sbcl-1.0.1 2056
+RMD160 0b5da914a8eca165dfc9e0a832b4842fbcdbcd04 files/digest-sbcl-1.0.1 2056
+SHA256 4e95fd999984133f149c1f191296714798adccf6088b664834e39575cca65dcc files/digest-sbcl-1.0.1 2056
RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+RMD160 f63fa430a6164a29a753ba250ae40ca4ffa1246d sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+SHA256 1dd70d834adccbb4b11226429863e53f668ad689aab0df0ee54fd96a682b5ba1 sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
MD5 beba4861dc8de0a2420c483f15a93c05 sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
+RMD160 24346843ef9896bec7e7fbd013db8edaf77c414a sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
+SHA256 65a457c1bc33775f629dff39a72eac68dd07815b8786cbedfbe02e9bae56479d sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
MD5 458ad42279c59159f7482de048890e72 sbcl-0.9.3-html.tar.bz2 113165
+RMD160 13a5990c18f3d38b99211317083298860a8ffce8 sbcl-0.9.3-html.tar.bz2 113165
+SHA256 70ed9dfb0812f68181db16afa05ece10c249fb522d2a945e684fe289fa032ee9 sbcl-0.9.3-html.tar.bz2 113165
MD5 b6848cde3a7b26a2a82bc63b05ac58a5 sbcl-0.9.3-source.tar.bz2 2582754
+RMD160 ba1b0dad70328593331b1b1e1f50af41ed4eb3e1 sbcl-0.9.3-source.tar.bz2 2582754
+SHA256 afb428f2250bcc83111c673a46c9916e7062c263c6d1077c9498830412f650d3 sbcl-0.9.3-source.tar.bz2 2582754
RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+RMD160 f63fa430a6164a29a753ba250ae40ca4ffa1246d sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
+SHA256 1dd70d834adccbb4b11226429863e53f668ad689aab0df0ee54fd96a682b5ba1 sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098
MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
MD5 beba4861dc8de0a2420c483f15a93c05 sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
+RMD160 24346843ef9896bec7e7fbd013db8edaf77c414a sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
+SHA256 65a457c1bc33775f629dff39a72eac68dd07815b8786cbedfbe02e9bae56479d sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117
MD5 14d8bad2281caf37693ffe487a156b74 sbcl-0.9.4-html.tar.bz2 115151
+RMD160 0b1f8b53b16c36a7fdec3c2e950aeac1d019ad21 sbcl-0.9.4-html.tar.bz2 115151
+SHA256 16e2fe96ba8a6285fad2a864fa7f3e3273d9b0c476604042afb57de0526001d7 sbcl-0.9.4-html.tar.bz2 115151
MD5 a0420dc6236efece72c1c80ee15873c9 sbcl-0.9.4-source.tar.bz2 2607058
+RMD160 fb81388e80c4014d9a1e3715b73add598ac14d92 sbcl-0.9.4-source.tar.bz2 2607058
+SHA256 026590ad6d886e14543a5af3283363cbf62e464d361a5358843cebaaffbb7b0d sbcl-0.9.4-source.tar.bz2 2607058
--- /dev/null
+MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
+RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
+SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873
+MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
+RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
+SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148
+MD5 029b85186984d0bfc8b49c4de1e8e45e sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
+RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
+SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090
+MD5 46d67859cac0d3b748310a93311b308a sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401
+RMD160 c60dba2a0278acf787d53a93ebac4de03c1d5ed8 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401
+SHA256 5cb563b19d1dd828e55bde9763404f5b908c9f5a043ba8c443415291b969b3d9 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401
+MD5 033b04259a929e71393281981fdf1f7a sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013
+RMD160 7a544bedebd4389eb75fe67bb48c0d25f677bc0d sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013
+SHA256 3db39ce36b1efc42cf99fc1be355aa8c0107e60ffb56f50bb001cc9b5cab70eb sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013
+MD5 5a703f5dd196ed246fd84f4f58314995 sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927
+RMD160 039968db40389a481da29dcc310aa05a50ee6ac6 sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927
+SHA256 f1add7f9c76e1ea45f17b752a62f5ad5d1fb4d27d06ae5ebfed05629bba9fafa sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927
+MD5 fe02f498620bce61a8688d4557a405b0 sbcl-1.0.1-source.tar.bz2 2902375
+RMD160 c86b352f547f3526288704e1a74463718ba11fe9 sbcl-1.0.1-source.tar.bz2 2902375
+SHA256 91ca14366b1363d3fa745a91a93005eaca74235d9225936d80b1d34116e76e5a sbcl-1.0.1-source.tar.bz2 2902375
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.1.ebuild,v 1.1 2007/01/18 04:09:58 mkennedy Exp $
+
+inherit common-lisp-common-3 eutils flag-o-matic
+
+BV_X86=0.9.14
+BV_PPC=0.8.15
+BV_SPARC=0.8.15
+BV_MIPS=0.7.10
+BV_AMD64=0.9.14
+BV_PPC_MACOS=0.9.11a
+
+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 )
+ ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
+ sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
+ mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz )
+ amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
+ ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )"
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
+
+IUSE="ldb source threads unicode doc"
+
+DEPEND="doc? ( sys-apps/texinfo )"
+
+PROVIDE="virtual/commonlisp"
+
+sbcl_einfo() {
+ local method
+ case $# in
+ 0) method=einfo;;
+ 1) method=$1;;
+ *) die "Invalid number of arguments to scbl_einfo"
+ esac
+ $method ""; while read line; do $method "${line}"; done; $method ""
+}
+
+pkg_setup() {
+ if built_with_use sys-devel/gcc hardened && gcc-config -c |grep -qv vanilla; then
+ sbcl_einfo eerror <<'EOF'
+So-called "hardened" compiler features are incompatible with SBCL. You
+must use gcc-config to select a profile with non-hardened features
+(the "vanilla" profile) and "source /etc/profile" before continuing.
+EOF
+ die
+ fi
+ if ! built_with_use sys-libs/glibc nptl && (use x86 || use amd64); then
+ sbcl_einfo eerror <<'EOF'
+Building SBCL without NPTL support on at least x86 and amd64
+architectures is not a supported configuration in Gentoo. Please
+refer to Bug #119016 for more information.
+EOF
+ die
+ fi
+ if (use ppc-macos || use ppc) && use ldb; then
+ sbcl_einfo ewarn <<'EOF'
+Building SBCL on PPC with LDB support is not a supported configuration
+in Gentoo. Please refer to Bug #121830 for more information.
+Continuing with LDB support disabled.
+EOF
+ fi
+}
+
+src_unpack() {
+ local a
+ # `use ppc` returns true for both ppc linux and ppc-macos systems
+ # specify
+ if use ppc-macos ; then
+ a="${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2"
+ elif use ppc; then
+ a="${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2"
+ else
+ for a in ${A}; do [[ $a == *binary* ]] && break; done
+ fi
+ unpack $a
+ mv ${PN}* sbcl-binary || die
+ unpack ${P}-source.tar.bz2
+ pushd ${S}
+ epatch ${FILESDIR}/disable-tests-gentoo.patch || die
+ epatch ${FILESDIR}/vanilla-module-install-source-gentoo.patch || die
+ popd
+ sed -i "s,/lib,/$(get_libdir),g" ${S}/install.sh
+ sed -i "s,/usr/local/lib,/usr/$(get_libdir),g" \
+ ${S}/src/runtime/runtime.c # #define SBCL_HOME ...
+ cat >${S}/customize-target-features.lisp <<'EOF'
+(lambda (list)
+ (flet ((enable (x)
+ (pushnew x list))
+ (disable (x)
+ (setf list (remove x list))))
+EOF
+ if use x86 || use amd64; then
+ use threads && echo '(enable :sb-thread)' \
+ >>${S}/customize-target-features.lisp
+ fi
+ if (use ppc-macos || use ppc) && use ldb; then
+ sbcl_einfo ewarn <<'EOF'
+Excluding LDB support for ppc-macos or ppc.
+EOF
+ else
+ use ldb \
+ && echo '(enable :sb-ldb)' \
+ >>${S}/customize-target-features.lisp
+ fi
+ echo '(disable :sb-test)' >>${S}/customize-target-features.lisp
+ ! use unicode \
+ && echo '(disable :sb-unicode)' \
+ >>${S}/customize-target-features.lisp
+ cat >>${S}/customize-target-features.lisp <<'EOF'
+ )
+ list)
+EOF
+ cat ${S}/customize-target-features.lisp
+
+ find ${S} -type f -name .cvsignore -print0 | xargs -0 rm -f
+ find ${S} -depth -type d -name CVS -print0 | xargs -0 rm -rf
+ find ${S} -type f -name \*.c -print0 | xargs -0 chmod 644
+}
+
+src_compile() {
+ local bindir="${WORKDIR}/sbcl-binary"
+
+ filter-ldflags -Wl,--as-needed --as-needed # see Bug #132992
+
+ LANG=C PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \
+ ./make.sh 'sbcl
+ --sysinit /dev/null
+ --userinit /dev/null
+ --disable-debugger
+ --core ${bindir}/output/sbcl.core' \
+ || die
+ if use doc; then
+ cd ${S}/doc/manual
+ LANG=C make info html || die
+ fi
+}
+
+src_install() {
+ unset SBCL_HOME
+ 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/**/*.*")))
+EOF
+ dodir /usr/share/man
+ dodir /usr/share/doc/${PF}
+ INSTALL_ROOT=${D}/usr DOC_DIR=${D}/usr/share/doc/${PF} sh install.sh || die
+
+ doman doc/sbcl-asdf-install.1
+ dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE SUPPORT TLA TODO
+ if use doc; then
+ dohtml doc/html/*
+ doinfo ${S}/doc/manual/*.info*
+ fi
+
+ if ! use nosource; then
+ # install the SBCL source
+ cp -pPR ${S}/src ${D}/usr/$(get_libdir)/sbcl
+ find ${D}/usr/$(get_libdir)/sbcl/src -type f -name \*.fasl -print0 | xargs -0 rm -f
+ fi
+
+ impl-save-timestamp-hack sbcl
+}
+
+pkg_postinst() {
+ standard-impl-postinst sbcl
+}
+
+pkg_postrm() {
+ standard-impl-postrm sbcl /usr/bin/sbcl
+}
\ No newline at end of file