diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-10-02 06:43:43 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-10-02 06:43:43 +0000 |
commit | f3081c1c32cea53809daa97bb313e1afc0a71cc4 (patch) | |
tree | e082934a120846648c0c2adc342d5398f94cf42a /dev-util | |
parent | Port to libextractor-0.6.x by me #435394 by BT. (diff) | |
download | historical-f3081c1c32cea53809daa97bb313e1afc0a71cc4.tar.gz historical-f3081c1c32cea53809daa97bb313e1afc0a71cc4.tar.bz2 historical-f3081c1c32cea53809daa97bb313e1afc0a71cc4.zip |
Add use flag for installing ioc64
Package-Manager: portage-2.2.0_alpha133/cvs/Linux x86_64
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/intel-ocl-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/intel-ocl-sdk/Manifest | 32 | ||||
-rw-r--r-- | dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild | 47 | ||||
-rw-r--r-- | dev-util/intel-ocl-sdk/metadata.xml | 3 |
4 files changed, 58 insertions, 30 deletions
diff --git a/dev-util/intel-ocl-sdk/ChangeLog b/dev-util/intel-ocl-sdk/ChangeLog index bb6c6d853375..51bd8084641a 100644 --- a/dev-util/intel-ocl-sdk/ChangeLog +++ b/dev-util/intel-ocl-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/intel-ocl-sdk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.4 2012/10/02 05:48:24 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.5 2012/10/02 06:43:43 xarthisius Exp $ + + 02 Oct 2012; Kacper Kowalik <xarthisius@gentoo.org> + intel-ocl-sdk-2.0.31360.ebuild, metadata.xml: + Add use flag for installing ioc64 *intel-ocl-sdk-2.0.31360 (02 Oct 2012) diff --git a/dev-util/intel-ocl-sdk/Manifest b/dev-util/intel-ocl-sdk/Manifest index acb79ee58105..9d3b7d8434b1 100644 --- a/dev-util/intel-ocl-sdk/Manifest +++ b/dev-util/intel-ocl-sdk/Manifest @@ -4,23 +4,23 @@ Hash: SHA256 DIST intel_ocl_sdk_1.5_x64.tgz 27901208 SHA256 bfc3b45e833ad158266fd79fb9494b040a060d48e5880dbbf538eba167450810 SHA512 c2bed74169584f33d8b8b58f8564acc7bd61e320eb42600660a4007b828e819ad7ca0ff9ff78c930da06f9860618cc49ddbe2d4a04576a6eb33f69dbcbb23c3f WHIRLPOOL a9dbe72530535cb34b3302a3f9f5512a838d227a3d7849bbb99380176a4d9083751e99dcafb2b037696b159bb14cd6a395c40a44851a971dd664254506b61c48 DIST intel_sdk_for_ocl_applications_2012_x64.tgz 28302946 SHA256 2044a9a62f40788b0dc4f4ea77a3d85df14e7909258e37eed3e63f7254a0bcc9 SHA512 6974dd67d8292400f1d0c80fd137f39290fe7dcab5146b9f0613ae48484f84e1b523f710dcc07c8600919ce01ab2dd91ab0e2d693e3723ffa9a744fcc52151dd WHIRLPOOL bf474c5959d9b19b40491a68355c2f36bdd0b98facae75aef4f488726b9589555d49f4bf8eb47f52524be6d354addbc945621a97b6f5412162e5b0c8aa03243e EBUILD intel-ocl-sdk-1.5.ebuild 1436 SHA256 af39c560c608607691c2aad2525f38a8776c4a8d773ed21693bde59ff7d4ebe3 SHA512 cfd6159a805d1c7ad64b69ba299972c551471bb162398b614039e3a54c40be704de88c8d8b27772b7fd811e1b03c1b29d23e014251a3938a4b191b8a3a6da3b5 WHIRLPOOL bce6bc6bc2e00e3050750fbf03e5dfc5a314b51962ca006e7524297df1021228afe7b130bcd82fead711ea5d93699626db4eba89f7e3e0a03e120a91e115a608 -EBUILD intel-ocl-sdk-2.0.31360.ebuild 1421 SHA256 809b01ea3c15d2fa1fe767ba48547b395d198b2bb29c828666c85844d3702b81 SHA512 9aa9ff9fed82f0cb65fcdf708eab07d88c176cd042a6267e237d025f2cd0e880a0cd529667cd7b16051e96abba67686b10fdcba84057f9e920b4724a7ffeeab3 WHIRLPOOL 38934c5e4243a504d185d285fda318c809ed7be198add3fb43cb361d715b810225ab1e918d53c41c46f4acc308473ac045dfb2350e23d6c9ba05bda948ad0c95 -MISC ChangeLog 839 SHA256 0656c8561c0dcbe08769c3e82fea2705b93d3cbf33b5eb56fe805c45d622d819 SHA512 7cc78a2b08b57f94acb13b7bef5373133b6f963024a2e8a62a194352583dc2815d96755d0e4dcf32a23f667669639650195a2e5660ec2509defb3378c15410c3 WHIRLPOOL 3b4c4da12817ce89da5c7c3b3033093fe3a56a31ebcc19fb870f774badb67ebda6da0184a98cd76e83fc47d01a68c14d15fd66f162e0b1858686013746ebbec2 -MISC metadata.xml 237 SHA256 da0461f424a48f918d7233b1c957149d1bedcd5b81e63652176728af4e524c6f SHA512 b25c1931e79125891bc8ea0b396fbb8f47b2803685ef0fa628f7ffba38a9e8820d849c480580d74672b736a7eff1af7fbd8c7bc92b98f61c7861e3938e769a3d WHIRLPOOL 380bfbb21fa30e8a78a2b1aee734ff85d69632dcee05ee379f642a38b3f2136cdd3fb289f8b33168493ac75588db04fb5da6e2fe1efe237f5b71a924070c8a5c +EBUILD intel-ocl-sdk-2.0.31360.ebuild 1837 SHA256 a763cbe8b6cb0b3026a46319b6ad42f6627c2b8e122598acfcbfaccd50cd69ec SHA512 f8b60520e53c83fc69050d8b2333d09257357ea304f9a296f1cc7c7a0d92f3a150119659f67a8ba4e6b30ec98ce7e01cfae599cb496f5eeba1402c864ca0bd3c WHIRLPOOL 001ebe4edd70443c6486ded2ac96d69162bea8943e233d06b817215a1670a236e87c7b6a1bb9cf076e471c420844cd2fc490c716da89c2ff45a5a64ad50ccaf3 +MISC ChangeLog 978 SHA256 4af47ce0a5bf6a2ceb2703631080176646e28f065420fbca5c62708c4b150807 SHA512 498ee0bfbe32f9af263c9171f46f6560b025cd41ab59d5f3178211fcac3f6ab6629b2b16a0a0c502b554263e3b4f27632613f749e3076cbbe9bb5311da0ee476 WHIRLPOOL 2bb78846f772e5daecd5e2e1a6ae5a35f74d116ee710b7857cc996febbcdde6642b96cba079893926288092eca360df1b73f7a9d0f8aaa44bcda3be60d681e61 +MISC metadata.xml 311 SHA256 c020f9c9b50675d08b698ae01d1ad609bc5396b9c3f7a92c0cadd842405033aa SHA512 bb19e75a28ab80aaa0816b431a9afbfb0b959bc9c72cb37f722021fbcbfa5a53f2d550b8b1e67659353e590c25c19120a7d782cc2cdde6121fce8fd4f1ae7ec9 WHIRLPOOL 24b291964c84eedd6f0415e32fbec0c38d855452181bcd6796e6497145e75092c5f956f775bd22c8db6091e4d00cca3c63191a9b35487e8fe755652a85c2cf9d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQaoAsAAoJEF0huFKJUZL5KgYQAKDqxS08mxBd+fgOcZ2jAfE0 -bsK10I1/NNiTc24P716dD6ciSTuR7hmRtHkMIldjJNCWqqdf1s5m1um0XLUXPbf8 -pmdMb1rTZPdK3XY7oZeLOttx1etM9mDxIacMouIkue+VDY8cGbcDD/S5HxHWD8Tn -EdXoLN4TStGT65hBHp8HuCatxBKwrguUtVMzo6zkhes7jQg0GfUF9Hvqd7r7KEe8 -M6aIkresWvs9vl2aVEZZoMiy22ZdwhTWxiXzHMXq9TlkezkrQxDJc1uZM77I54VS -8MOyJRzIpDwzOnjDh+XPmvEOV6gXerN/S55ycRDvoem0jIVDHS9csjEH9vhS2Ktf -hEMkRLvD8BaKWbWss06QSoKZKosOksBS0ArUS+0Q644ke46sUlTaoT7bUJTLGfhV -h2PZwuk0MhFEPtXyHYiGBKSOWQU/jRVcwiO1vAIFDEDMd/CFrpPw6jaQtkRa5sr5 -9+bbH82R8xBvoig29fZIz++3EXXok5tTggQu0Rg1XcC7TaS1f4ZK0R1VsqLV2ebR -oblovrJd7jvRLe1SRSjE7GkQeQcAKMct14hRNQaidj/rwXxsJFA7RBFZZC/beJAL -ug1CZnRnEnABCCEssXqatVVYwCsmL1OyLP3a8Dy+/F0w7ULf6Ybrq9rdEXEcK5FD -vVtJWFuhaPlkXzL13e29 -=PB5r +iQIcBAEBCAAGBQJQao0kAAoJEF0huFKJUZL5ADwP/jbPbHeGNLevZPvDpGRrkYYi +4KeI7RkewUuzKP/tp+mT+HcADBWkA2jw43xghRHLF7u6Bn8hAey29VAsGMX20Foz +xKJJtcxfEyMy2v+734Y949RXazvtk6O3hLan9GIGbc5rO/ISm7jrlQSHj9AZTu6x +531Pct0ITCA4GoiYou9Ve2l7tDPFAiouy5CFi+ztyitxn3MuVm3Ha5DDKA4jZasr +VQDJoyhbH7pfoNVm1HV3vsDVsZ81xtOXvGmPVhaWp5roiHC7A9LCt96DCa4/IJ8T +1JNgOOn25U1/qIvXklVWNb0r1lEsQBWU6g9pskdix9ooSdHSz5vTJBw4kH0tOCJa +kytLvDEsqKm59y+sPanUrzx6MBbHIRjNhHDnQgGBEl9wwbKiUNm5j88w4Ev3yx9x +vVCDFiWyj8o6hfjSxz+qrYbdl/QjUmwq8YZZE3nia8d2js2z2E2y1KqQzuM238Y5 +e8jVz6lYuptTdblt/kb4VO5LlKFefpyHFyJD2zBt1DrBEn148aRefQe1s6Sv3BLG +CTn7ALnleSwZ9h7J2K23cYcN8l36R63qjk09jBxMZ3DPgv2+FRxEK8cAWDyAm7bl +ax8l6JzPAoO+FENmwdAXbApFoYQ9JsJYadtSGJ5TqJeUtK2VTcS+NDcGppUPdLAc +tOh1iSHgiwbIrjEpaSiE +=5ODb -----END PGP SIGNATURE----- diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild index 894d39d2d752..cf42d5eeff6e 100644 --- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild +++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v 1.1 2012/10/02 05:48:24 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v 1.2 2012/10/02 06:43:43 xarthisius Exp $ EAPI=4 @@ -8,21 +8,25 @@ MY_P=${PN//-/_}_2012_x64 inherit rpm multilib -INTEL_CL=/usr/$(get_libdir)/OpenCL/vendors/intel/ +INTEL_CL=usr/$(get_libdir)/OpenCL/vendors/intel/ DESCRIPTION="Intel's implementation of the OpenCL standard optimized for Intel processors." HOMEPAGE="http://software.intel.com/en-us/articles/opencl-sdk/" SRC_URI="http://registrationcenter.intel.com/irc_nas/2563/intel_sdk_for_ocl_applications_2012_x64.tgz" + LICENSE="Intel-SDP" SLOT="0" -IUSE="" +IUSE="tools" KEYWORDS="~amd64 -x86" -#sys-devel/clang -#dev-libs/boost:1.46 RDEPEND="app-admin/eselect-opencl dev-cpp/tbb - sys-process/numactl" + sys-process/numactl + tools? ( + dev-libs/boost:1.46 + sys-devel/llvm + >=virtual/jre-1.6 + )" DEPEND="" RESTRICT="mirror" @@ -38,19 +42,36 @@ src_unpack() { rpm_unpack ./${MY_P}.rpm } +src_prepare() { + # Remove unnecessary and bundled stuff + rm -rf ${INTEL_CL}/{docs,version.txt,llc} + rm -f ${INTEL_CL}/libboost* + rm -f ${INTEL_CL}/libtbb* + if ! use tools; then + rm -rf usr/bin + rm -f ${INTEL_CL}/{ioc64,ioc.jar} + fi +} + src_install() { - doins -r etc usr/bin - # things that are left out: llc, ioc + doins -r etc + insinto ${INTEL_CL} doins -r usr/include insopts -m 755 - newins usr/lib64/libOpenCL.so libOpenCL.so.1 + newins usr/$(get_libdir)/libOpenCL.so libOpenCL.so.1 dosym libOpenCL.so.1 ${INTEL_CL}/libOpenCL.so - pushd usr/lib64/OpenCL/vendors/intel &> /dev/null - rm -f libboost* libtbb* - doins *.so *rtl *pch - popd &> /dev/null + + doins ${INTEL_CL}/* + + # Think of better way to do that... + if use tools; then + dosym /usr/$(get_libdir)/libboost_filesystem-1_46.so.1.46.1 \ + ${INTEL_CL}/libboost_filesystem.so.1.46.1 + dosym /usr/$(get_libdir)/libboost_system-1_46.so.1.46.1 \ + ${INTEL_CL}/libboost_system.so.1.46.1 + fi } pkg_postinst() { diff --git a/dev-util/intel-ocl-sdk/metadata.xml b/dev-util/intel-ocl-sdk/metadata.xml index 6629da3fa528..78f4a5e1b938 100644 --- a/dev-util/intel-ocl-sdk/metadata.xml +++ b/dev-util/intel-ocl-sdk/metadata.xml @@ -5,4 +5,7 @@ <email>xarthisius@gentoo.org</email> <name>Kacper Kowalik</name> </maintainer> + <use> + <flag name='tools'>Install Intel Offline Compiler</flag> + </use> </pkgmetadata> |