From: Markus Dittrich Date: Tue, 23 Jan 2007 13:57:37 +0000 (+0000) Subject: Versioned the lapack source tarballs according to the new upstream naming convention... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=afa1c70000fa494eb7d9091bfd1ed7ce5bf9fb73;p=gentoo.git Versioned the lapack source tarballs according to the new upstream naming convention (see bug #162667). Also removed old ebuild. Package-Manager: portage-2.1.2 --- diff --git a/sci-libs/lapack-atlas/Manifest b/sci-libs/lapack-atlas/Manifest index 4136799606a8..744ebdbfa8a3 100644 --- a/sci-libs/lapack-atlas/Manifest +++ b/sci-libs/lapack-atlas/Manifest @@ -31,65 +31,57 @@ DIST atlas3.6.0-shared-libs.3.patch.bz2 5140 RMD160 d6085b2729f2b8ed917b1d0a8533 DIST atlas3.6.0-shared-libs.patch.bz2 5140 RMD160 2c266377cd60b24b7710fcf1d6d4be9c32797d64 SHA1 ec4c87075c03133e0f1e2fe22cd9768124c758b7 SHA256 6fd8281d42de14d34e4f1e25cb9f4b142f6e66c8dc1030763761f8033eb38e89 DIST atlas3.6.0.tar.bz2 1687723 RMD160 e7d40a6677ce7c4442df7152150aecf812020713 SHA1 61dd7ace2f43e9a10864148a71fa443a6eae2c3d SHA256 1c2ad68fe3c66e261c012788fc1b6f74eada791f713848a3a6420c50fa35c8e8 DIST atlas3.7.11.tar.bz2 2032724 RMD160 f58b8a85c097bd1bff6a53ee42bcff97240fb8ec SHA1 7806c43147535f6422bdaacb4416aa06a5de0f07 SHA256 558b9f3f0dc8f63306f99f75d6e6fa762ea3d9d0dea88053e3e8b6f0e6364109 -DIST atlas3.7.23.tar.bz2 1776072 RMD160 765eb87e714b43c53b399a861f28e8ff27682e32 SHA1 32bda68c13eded620c68333a0373bf4ec691e032 SHA256 048cf7e2f1ae1a0581642019388b6f72894ca46e797e0548ac2cb7975481e253 DIST atlas3.7.24.tar.bz2 1776317 RMD160 c7bcfb157aa83a8087a3131342cbd1347f76ce64 SHA1 4ca6ee261a3b3af891db0fee87b7238b95badd5b SHA256 10436b1aa642d0bd041170db683c119a9581ee5325fed2dc8113f34a2f11f8e4 DIST lapack-20020531-20021004.patch.bz2 59736 RMD160 126a579d242664dce53d23cdd7bef935e81b5031 SHA1 64f0e180a296c35a8050af293a6582e48d3394ae SHA256 19bcae60fcec3742563d8b27e21da52677b18520c54cf0cb7a51537ec3dbd29c +DIST lapack-3.0.tgz 4991992 RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce SHA1 47d85508d87d60e32b613ef0c951d0be4bf10e72 SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 DIST lapack-gentoo.patch 1272 RMD160 2bc28b1c8bbc7b77d977562e3550097bdb2a379b SHA1 8bf5087aa105be61032afd50f94a31cd3c362c9f SHA256 376b738c66dbbd8b116c3a48b99c1202dbd5c1c6c94865cf9df10ed48b78fb43 -DIST lapack.tgz 4991992 RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce SHA1 47d85508d87d60e32b613ef0c951d0be4bf10e72 SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 -EBUILD lapack-atlas-3.6.0-r1.ebuild 4912 RMD160 a895a38c8e5f480b5a94b9fbfd04e2a85d34a529 SHA1 a0d1e593a19a69e321a70e00474671399432f5ca SHA256 9e86e6fcf9a0c3179ae0bdec5f881942a881fd1a03be91aa6ccd00daead8c280 -MD5 695148ab3717c79515be768f627ade06 lapack-atlas-3.6.0-r1.ebuild 4912 -RMD160 a895a38c8e5f480b5a94b9fbfd04e2a85d34a529 lapack-atlas-3.6.0-r1.ebuild 4912 -SHA256 9e86e6fcf9a0c3179ae0bdec5f881942a881fd1a03be91aa6ccd00daead8c280 lapack-atlas-3.6.0-r1.ebuild 4912 -EBUILD lapack-atlas-3.6.0-r2.ebuild 4987 RMD160 c22df95fb932d08969f78460aae2295759d3bebc SHA1 d4ebc6e1efac5a883e4c6b993771583169014d7a SHA256 ccd4ff634ef0da0b01e86e3777d5ba5bb955831a1a5aaa42f234bf3858e058e6 -MD5 04016a6d5f12d5f0e7f6f129b0c511fa lapack-atlas-3.6.0-r2.ebuild 4987 -RMD160 c22df95fb932d08969f78460aae2295759d3bebc lapack-atlas-3.6.0-r2.ebuild 4987 -SHA256 ccd4ff634ef0da0b01e86e3777d5ba5bb955831a1a5aaa42f234bf3858e058e6 lapack-atlas-3.6.0-r2.ebuild 4987 -EBUILD lapack-atlas-3.6.0.ebuild 5061 RMD160 d6d3deab2f46c6991abd5540e6c740ba943a50d4 SHA1 4e1bd500d0dda13b67e9184144ea10e750e5910a SHA256 2c4f8588ff5d267c2e601cf6bbd9dbd15d1a03ce6fd52e8cee8d798025c45816 -MD5 56df64ffedcf5af1e71c37434f844c81 lapack-atlas-3.6.0.ebuild 5061 -RMD160 d6d3deab2f46c6991abd5540e6c740ba943a50d4 lapack-atlas-3.6.0.ebuild 5061 -SHA256 2c4f8588ff5d267c2e601cf6bbd9dbd15d1a03ce6fd52e8cee8d798025c45816 lapack-atlas-3.6.0.ebuild 5061 -EBUILD lapack-atlas-3.7.11-r1.ebuild 6480 RMD160 6ba51bc9ac0a669c91890ec560e7bdebde748fef SHA1 b5cc856eecb50f65cea97bff33c7c3f2b758489a SHA256 0a4198148418d5026936eb8f6ded75db8d5dbbbbf09757d6d1bd865d87371a0e -MD5 5242387d0766b0c57cf1f6e229988bfd lapack-atlas-3.7.11-r1.ebuild 6480 -RMD160 6ba51bc9ac0a669c91890ec560e7bdebde748fef lapack-atlas-3.7.11-r1.ebuild 6480 -SHA256 0a4198148418d5026936eb8f6ded75db8d5dbbbbf09757d6d1bd865d87371a0e lapack-atlas-3.7.11-r1.ebuild 6480 -EBUILD lapack-atlas-3.7.11.ebuild 6398 RMD160 ce6b080662fb959c655f903e072e678b4863daea SHA1 da098ee99b1c31b73306d9fb1b45689cb17d721f SHA256 efb98a2d5387d36e8d5e6bc0abae05dab50c32a929624b9b109e1a7a01fcc1b8 -MD5 28d885e74de714fa605b2b725ae51750 lapack-atlas-3.7.11.ebuild 6398 -RMD160 ce6b080662fb959c655f903e072e678b4863daea lapack-atlas-3.7.11.ebuild 6398 -SHA256 efb98a2d5387d36e8d5e6bc0abae05dab50c32a929624b9b109e1a7a01fcc1b8 lapack-atlas-3.7.11.ebuild 6398 -EBUILD lapack-atlas-3.7.23.ebuild 4946 RMD160 9d42c0ba14bb82d8c9ab0420cd677fc1380f0020 SHA1 8dc353057bddcdea210e64f64714e8d033b96e46 SHA256 72a8f9687eaa127cc8a36e947f4556e4826bbbf4c1fcb5dfb650bd86425c84d2 -MD5 362d05bfa2c05bcb6aef12205e6377d7 lapack-atlas-3.7.23.ebuild 4946 -RMD160 9d42c0ba14bb82d8c9ab0420cd677fc1380f0020 lapack-atlas-3.7.23.ebuild 4946 -SHA256 72a8f9687eaa127cc8a36e947f4556e4826bbbf4c1fcb5dfb650bd86425c84d2 lapack-atlas-3.7.23.ebuild 4946 -EBUILD lapack-atlas-3.7.24.ebuild 5001 RMD160 59de19e5b567a88beb12a960bd1e9d6701cfe93a SHA1 9de99ddff23aea15d658f2391c2c1a536b66dcb1 SHA256 df9f9b2e68bbbd750b467a0b5780a3281eef3c47913d3bfdc608b99cb92d2435 -MD5 4648cf453442e4c911751571544b5c27 lapack-atlas-3.7.24.ebuild 5001 -RMD160 59de19e5b567a88beb12a960bd1e9d6701cfe93a lapack-atlas-3.7.24.ebuild 5001 -SHA256 df9f9b2e68bbbd750b467a0b5780a3281eef3c47913d3bfdc608b99cb92d2435 lapack-atlas-3.7.24.ebuild 5001 -MISC ChangeLog 9121 RMD160 9520766afecd434982b950c7b7a94004f9623341 SHA1 e24ec4ecf1183d341b90b329cde2269633609fea SHA256 97f3201834b9283c1d978bfe0bcc0e35b5e6df16625adf86c942f445658e1df2 -MD5 5b02366e49b5b8acb84f27a764d75e29 ChangeLog 9121 -RMD160 9520766afecd434982b950c7b7a94004f9623341 ChangeLog 9121 -SHA256 97f3201834b9283c1d978bfe0bcc0e35b5e6df16625adf86c942f445658e1df2 ChangeLog 9121 +EBUILD lapack-atlas-3.6.0-r1.ebuild 4916 RMD160 a0c9208292cdc2be59f32c7b3e9593e6c7786e69 SHA1 24d5f010af16491223ea3bb035ac620ee8d65879 SHA256 6b7e31f2574c1fdbe4fbf31db92c9b2d788cf859f0e943d748d16c241c13e3b1 +MD5 b1c9d6f9dc5758dcd823ce061103ddfa lapack-atlas-3.6.0-r1.ebuild 4916 +RMD160 a0c9208292cdc2be59f32c7b3e9593e6c7786e69 lapack-atlas-3.6.0-r1.ebuild 4916 +SHA256 6b7e31f2574c1fdbe4fbf31db92c9b2d788cf859f0e943d748d16c241c13e3b1 lapack-atlas-3.6.0-r1.ebuild 4916 +EBUILD lapack-atlas-3.6.0-r2.ebuild 4990 RMD160 69ff633c8af1c22753cbf500b33caafd24455492 SHA1 93c95d7f83300c38665f619036ef7e555e09df44 SHA256 df90ddaa39047440cab573689f2355076779fd02727dbe647fb8b150a82ef2f9 +MD5 06e92bb0ef9a3b6848d0f034a9eb3f9c lapack-atlas-3.6.0-r2.ebuild 4990 +RMD160 69ff633c8af1c22753cbf500b33caafd24455492 lapack-atlas-3.6.0-r2.ebuild 4990 +SHA256 df90ddaa39047440cab573689f2355076779fd02727dbe647fb8b150a82ef2f9 lapack-atlas-3.6.0-r2.ebuild 4990 +EBUILD lapack-atlas-3.6.0.ebuild 5065 RMD160 102895411529dab90f89cce404fd55eff98adace SHA1 5e1857c8d6e513b0b971ebc8e1374e3ee9260d6d SHA256 5806e8c711b6cfd93a3124d8fff4ad34ad43f80b94904e9f7019de28b5d43bac +MD5 7cfe63573bde280bb816f7fda13a844b lapack-atlas-3.6.0.ebuild 5065 +RMD160 102895411529dab90f89cce404fd55eff98adace lapack-atlas-3.6.0.ebuild 5065 +SHA256 5806e8c711b6cfd93a3124d8fff4ad34ad43f80b94904e9f7019de28b5d43bac lapack-atlas-3.6.0.ebuild 5065 +EBUILD lapack-atlas-3.7.11-r1.ebuild 6483 RMD160 541be4887928864f2ee62ff20818dfa004316d50 SHA1 784e05a58d43e99dbde8279b8e935292db5329ef SHA256 9a994913b4e61ee9a042def762f7919a9603963a0ee1a3abca96026bbdc68474 +MD5 ae6508b405068f2c9619073ba4ed0ffa lapack-atlas-3.7.11-r1.ebuild 6483 +RMD160 541be4887928864f2ee62ff20818dfa004316d50 lapack-atlas-3.7.11-r1.ebuild 6483 +SHA256 9a994913b4e61ee9a042def762f7919a9603963a0ee1a3abca96026bbdc68474 lapack-atlas-3.7.11-r1.ebuild 6483 +EBUILD lapack-atlas-3.7.11.ebuild 6402 RMD160 5ebcecbb3fbeb87731be34b7f16cb943540a0a73 SHA1 7063c20b59400da97ad8c1a38f243fefdefc7eb8 SHA256 270da13b280b8f939e94c0aa6864c26a3eed8f4576412ad4bfa2455afaf475dd +MD5 3a4200dc787b5a167555a27c7aa1fc88 lapack-atlas-3.7.11.ebuild 6402 +RMD160 5ebcecbb3fbeb87731be34b7f16cb943540a0a73 lapack-atlas-3.7.11.ebuild 6402 +SHA256 270da13b280b8f939e94c0aa6864c26a3eed8f4576412ad4bfa2455afaf475dd lapack-atlas-3.7.11.ebuild 6402 +EBUILD lapack-atlas-3.7.24.ebuild 5005 RMD160 0fd0590f001a2515d9a5729013507f478cc4a3b9 SHA1 46e0ad54288a444315329df296fd38a216394231 SHA256 8cf8b260ec37d9a86183b4a1e2130a4fb544a961fb396a53033bee783b7c5694 +MD5 7d533653d60154febc59ef52c301530c lapack-atlas-3.7.24.ebuild 5005 +RMD160 0fd0590f001a2515d9a5729013507f478cc4a3b9 lapack-atlas-3.7.24.ebuild 5005 +SHA256 8cf8b260ec37d9a86183b4a1e2130a4fb544a961fb396a53033bee783b7c5694 lapack-atlas-3.7.24.ebuild 5005 +MISC ChangeLog 9519 RMD160 71aab0d31bddae1eb3603ba9cdcbec8eb7caa971 SHA1 2388574c7a3f75f96c7b431cc7140fe30008585b SHA256 5d4af819e2d0c34be5b20a9570d3c96f6d30ae9f018d1844fcee90a73cf513fe +MD5 caff37e88ce36f8c20806cab8542d9ce ChangeLog 9519 +RMD160 71aab0d31bddae1eb3603ba9cdcbec8eb7caa971 ChangeLog 9519 +SHA256 5d4af819e2d0c34be5b20a9570d3c96f6d30ae9f018d1844fcee90a73cf513fe ChangeLog 9519 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 -MD5 8d635ef4f9074e9b287e83ec35e00134 files/digest-lapack-atlas-3.6.0 1235 -RMD160 e6d24dfbd82cc0dcfcf276da473bbd2eff7c86d7 files/digest-lapack-atlas-3.6.0 1235 -SHA256 ad110553140070cd0a687d7c43c619c5f1c37a0a44879ded3480eae6462b46df files/digest-lapack-atlas-3.6.0 1235 -MD5 8d635ef4f9074e9b287e83ec35e00134 files/digest-lapack-atlas-3.6.0-r1 1235 -RMD160 e6d24dfbd82cc0dcfcf276da473bbd2eff7c86d7 files/digest-lapack-atlas-3.6.0-r1 1235 -SHA256 ad110553140070cd0a687d7c43c619c5f1c37a0a44879ded3480eae6462b46df files/digest-lapack-atlas-3.6.0-r1 1235 -MD5 8d635ef4f9074e9b287e83ec35e00134 files/digest-lapack-atlas-3.6.0-r2 1235 -RMD160 e6d24dfbd82cc0dcfcf276da473bbd2eff7c86d7 files/digest-lapack-atlas-3.6.0-r2 1235 -SHA256 ad110553140070cd0a687d7c43c619c5f1c37a0a44879ded3480eae6462b46df files/digest-lapack-atlas-3.6.0-r2 1235 -MD5 ce20dffc8b3b879e4067d5514d269b96 files/digest-lapack-atlas-3.7.11 1244 -RMD160 1f149774ccfe43809b7b697264c15415f3ea4682 files/digest-lapack-atlas-3.7.11 1244 -SHA256 7abbea8b0726d30986843355a91120d6ea353bf9125e2c8d594e4fbaa4454e40 files/digest-lapack-atlas-3.7.11 1244 -MD5 ce20dffc8b3b879e4067d5514d269b96 files/digest-lapack-atlas-3.7.11-r1 1244 -RMD160 1f149774ccfe43809b7b697264c15415f3ea4682 files/digest-lapack-atlas-3.7.11-r1 1244 -SHA256 7abbea8b0726d30986843355a91120d6ea353bf9125e2c8d594e4fbaa4454e40 files/digest-lapack-atlas-3.7.11-r1 1244 -MD5 835be4d6a82eef4215d3d752cf19e154 files/digest-lapack-atlas-3.7.23 1012 -RMD160 d275ce01f627711aed69e2167aca4ae6c651afe3 files/digest-lapack-atlas-3.7.23 1012 -SHA256 7c746e0a167236b903f61d4c53486956e3dad92eab219401d66092e220d9a829 files/digest-lapack-atlas-3.7.23 1012 -MD5 6d98ca5f5171cf2898de3d6ad0190460 files/digest-lapack-atlas-3.7.24 1012 -RMD160 912a99d9952ec4939409f183a4214821dd028696 files/digest-lapack-atlas-3.7.24 1012 -SHA256 43570592fd24e39410f230c5dab9f228d14221e98c1687918ee910a5ed15401b files/digest-lapack-atlas-3.7.24 1012 +MD5 e3fc4d5819e87a13beaf8cb4d3ef55ae files/digest-lapack-atlas-3.6.0 1247 +RMD160 1baac1f797ae1dbd01ad87dd50357c830f3320c7 files/digest-lapack-atlas-3.6.0 1247 +SHA256 b1b95ab8b9c7f668543e37f64edcaa67d98502113f4e8d11e1a02ba4cda3ae17 files/digest-lapack-atlas-3.6.0 1247 +MD5 e3fc4d5819e87a13beaf8cb4d3ef55ae files/digest-lapack-atlas-3.6.0-r1 1247 +RMD160 1baac1f797ae1dbd01ad87dd50357c830f3320c7 files/digest-lapack-atlas-3.6.0-r1 1247 +SHA256 b1b95ab8b9c7f668543e37f64edcaa67d98502113f4e8d11e1a02ba4cda3ae17 files/digest-lapack-atlas-3.6.0-r1 1247 +MD5 e3fc4d5819e87a13beaf8cb4d3ef55ae files/digest-lapack-atlas-3.6.0-r2 1247 +RMD160 1baac1f797ae1dbd01ad87dd50357c830f3320c7 files/digest-lapack-atlas-3.6.0-r2 1247 +SHA256 b1b95ab8b9c7f668543e37f64edcaa67d98502113f4e8d11e1a02ba4cda3ae17 files/digest-lapack-atlas-3.6.0-r2 1247 +MD5 9ecc64285b4049dd658901b262ca629a files/digest-lapack-atlas-3.7.11 1256 +RMD160 3eb9f70ab20352f62eed07d4cbd51b4e0085a849 files/digest-lapack-atlas-3.7.11 1256 +SHA256 82054118ed38307850ecfe3f9293e093f9a77bc8dbfe50e727643f3a90b03856 files/digest-lapack-atlas-3.7.11 1256 +MD5 9ecc64285b4049dd658901b262ca629a files/digest-lapack-atlas-3.7.11-r1 1256 +RMD160 3eb9f70ab20352f62eed07d4cbd51b4e0085a849 files/digest-lapack-atlas-3.7.11-r1 1256 +SHA256 82054118ed38307850ecfe3f9293e093f9a77bc8dbfe50e727643f3a90b03856 files/digest-lapack-atlas-3.7.11-r1 1256 +MD5 c70f163c9723c4aef5a6bb33cb20e036 files/digest-lapack-atlas-3.7.24 1024 +RMD160 de346be0476daf1d589a49010452618302836402 files/digest-lapack-atlas-3.7.24 1024 +SHA256 13eacc697e343de3afe3c9b84782bfcb281914b8ed6ecf9b158d43d651c25cc9 files/digest-lapack-atlas-3.7.24 1024 diff --git a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 deleted file mode 100644 index 6382e74b2900..000000000000 --- a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 4d28b9a878db79ba5567c76d225097a1 atlas-3.7.23-shared-libs.patch.bz2 6324 -RMD160 b3fd87430994d09860a6fd1d494934e90c0ecf41 atlas-3.7.23-shared-libs.patch.bz2 6324 -SHA256 895ed8243f23074ad0a343c3aded59468e2f3d6acfa886c840f7f81d32718241 atlas-3.7.23-shared-libs.patch.bz2 6324 -MD5 44c7e7807db212b6d526aa560049f4a1 atlas3.7.23.tar.bz2 1776072 -RMD160 765eb87e714b43c53b399a861f28e8ff27682e32 atlas3.7.23.tar.bz2 1776072 -SHA256 048cf7e2f1ae1a0581642019388b6f72894ca46e797e0548ac2cb7975481e253 atlas3.7.23.tar.bz2 1776072 -MD5 c35802e688f28f8f65632fb93aad69d8 lapack-20020531-20021004.patch.bz2 59736 -RMD160 126a579d242664dce53d23cdd7bef935e81b5031 lapack-20020531-20021004.patch.bz2 59736 -SHA256 19bcae60fcec3742563d8b27e21da52677b18520c54cf0cb7a51537ec3dbd29c lapack-20020531-20021004.patch.bz2 59736 -MD5 a24f59304f87b78cdc7da2ae59c98664 lapack.tgz 4991992 -RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce lapack.tgz 4991992 -SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 lapack.tgz 4991992 diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild deleted file mode 100644 index cad2793a837e..000000000000 --- a/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild,v 1.1 2006/12/09 13:56:01 markusle Exp $ - -inherit eutils flag-o-matic toolchain-funcs fortran - -DESCRIPTION="Full LAPACK implementation using available ATLAS routines" -LICENSE="BSD" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN="${PN/lapack-/}" -SRC_URI1="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2" -SRC_URI2="http://www.netlib.org/lapack/lapack.tgz" -SRC_URI="${SRC_URI1} ${SRC_URI2} - mirror://gentoo/lapack-20020531-20021004.patch.bz2 - mirror://gentoo/${MY_PN}-${PV}-shared-libs.patch.bz2" - -SLOT="0" -IUSE="doc" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND="virtual/blas - app-admin/eselect-lapack" - -DEPEND="${RDEPEND} - >=sys-devel/libtool-1.5 - ~sci-libs/blas-atlas-3.7.23" - -PROVIDE="virtual/lapack" - -FORTRAN="g77 gfortran" - -S="${WORKDIR}/ATLAS" -S_LAPACK="${WORKDIR}/LAPACK" -BLD_DIR="${S}/gentoo-build" -RPATH="${DESTTREE}/$(get_libdir)/lapack/atlas" - -pkg_setup() { - fortran_pkg_setup - echo - ewarn "Please make sure to disable CPU throttling completely" - ewarn "during the compile of lapack-atlas. Otherwise, all atlas" - ewarn "generated timings will be completely random and the" - ewarn "performance of the resulting libraries will be degraded" - ewarn "considerably." - echo - epause 8 -} - -src_unpack() { - unpack ${A} - cd "${WORKDIR}" - - epatch "${DISTDIR}"/${MY_PN}-${PV}-shared-libs.patch.bz2 - epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch - epatch "${DISTDIR}"/lapack-20020531-20021004.patch.bz2 - epatch "${FILESDIR}"/lapack-reference-3.0-autotool.patch - - cd "${S}" - mkdir ${BLD_DIR} || die "failed to generate build directory" - cp "${FILESDIR}"/war "${BLD_DIR}" && chmod a+x "${BLD_DIR}"/war \ - || die "failed to install war" - - # make sure the compile picks up the proper includes - sed -e 's|INCLUDES =|INCLUDES = -I/usr/include/atlas/|' \ - -i CONFIG/src/SpewMakeInc.c || \ - die "failed to append proper includes" - - # force proper 32/64bit libs - local archselect - if [[ "${ARCH}" == "amd64" || "${ARCH}" == "ppc64" ]]; then - archselect="-b 64" - else - archselect="-b 32" - fi - - # set up compiler/flags using atlas' native configure - local compdefs - compdefs="${compdefs} -C xc '$(tc-getCC)' -F xc '${CFLAGS}'" - compdefs="${compdefs} -C ic '$(tc-getCC)' -F ic '${CFLAGS}'" - compdefs="${compdefs} -C sk '$(tc-getCC)' -F sk '${CFLAGS}'" - compdefs="${compdefs} -C dk '$(tc-getCC)' -F dk '${CFLAGS}'" - compdefs="${compdefs} -C sm '$(tc-getCC)' -F sm '${CFLAGS}'" - compdefs="${compdefs} -C dm '$(tc-getCC)' -F dm '${CFLAGS}'" - compdefs="${compdefs} -C if '${FORTRANC}' -F if '${FFLAGS}'" - compdefs="${compdefs} -Si cputhrchk 0 ${archselect}" - - - cd ${BLD_DIR} && ../configure ${compdefs} \ - || die "configure failed" - - cd "${S_LAPACK}" - eautoreconf -} - -src_compile() { - # build atlas' part of lapack - cd "${BLD_DIR}"/src/lapack - make lib || die "Failed to make lib in ${BLD_DIR}/src/lapack" - - cd "${BLD_DIR}"/interfaces/lapack/C/src - make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/C/src" - - cd "${BLD_DIR}"/interfaces/lapack/F77/src - make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/F77/src" - - # build rest of lapack - cd "${S_LAPACK}" - econf || die "Failed to configure reference lapack lib" - emake || die "Failed to make reference lapack lib" - - cd "${S_LAPACK}"/SRC - einfo "Copying liblapack.a/*.o to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.o . - einfo "Copying liblapack.a/*.lo to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.lo . - einfo "Copying liblapack.a/.libs/*.o to ${S_LAPACK}/SRC" - cp -sf "${BLD_DIR}"/gentoo/liblapack.a/.libs/*.o .libs/ - - # make sure shared libs link against proper libraries - if [[ ${FORTRANC} == "gfortran" ]]; then - libs="${LDFLAGS} -lpthread -lgfortran" - else - libs="${LDFLAGS} -lpthread -lg2c" - fi - - ../libtool --mode=link --tag=F77 ${FORTRANC} -lblas -lcblas \ - -latlas ${libs} -o liblapack.la *.lo -rpath "${RPATH}" \ - || die "Failed to create liblapack.la" -} - -src_install () { - dodir "${RPATH}" - - cd "${S_LAPACK}"/SRC - ../libtool --mode=install install -s liblapack.la \ - "${D}/${RPATH}" \ - || die "Failed to install lapack-atlas library" - - eselect lapack add $(get_libdir) ${FILESDIR}/eselect.lapack atlas - - insinto /usr/include/atlas - cd "${S}"/include - doins clapack.h || die "Failed to install clapack.h" - - cd "${S}" - dodoc README doc/AtlasCredits.txt doc/ChangeLog || \ - die "Failed to install docs" - if use doc; then - dodoc doc/lapackqref.ps || die "Failed to install docs" - fi -} - -pkg_postinst() { - if [[ -z "$(eselect lapack show)" ]]; then - eselect lapack set atlas - fi - - elog - elog "To link with ATLAS LAPACK from C or Fortran, simply use:" - elog - elog "-llapack" - elog - elog "C users: your header is /usr/include/atlas/clapack.h" - elog - elog "Configuration now uses eselect rather than lapack-config." -}