1 |
bicatali 07/12/28 11:24:57 |
2 |
|
3 |
Added: metadata.xml Manifest ipp-5.3.1.062.ebuild |
4 |
ChangeLog |
5 |
Log: |
6 |
Initial import, closing bug #165934. Thanks Eric Thibodeau for his help |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-libs/ipp/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>sci</herd> |
21 |
<longdescription lang="en"> |
22 |
Intel(R) Integrated Performance Primitives (Intel(R) IPP) is a |
23 |
library of multi-core-ready, optimized software functions for |
24 |
multimedia data processing, and communications applications. |
25 |
</longdescription> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
1.1 sci-libs/ipp/Manifest |
31 |
|
32 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/Manifest?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/Manifest?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: Manifest |
36 |
=================================================================== |
37 |
DIST l_ipp_em64t_p_5.3.1.062.tgz 283581997 RMD160 4679b0945d895e049470dc6c72e370037ff1b0cf SHA1 374cf301cfbfb935cd3451d24cbf2d32a1c570fe SHA256 a262ea4ee4ed035fed98ebc24eed33fa863d571287ca0dafe867477d7483a747 |
38 |
DIST l_ipp_ia32_p_5.3.1.062.tgz 338214466 RMD160 2410830b22aee0d99ed377d9afda10034b87c57a SHA1 ab923f3807ac2aa21776868968ecf52a57497137 SHA256 fff09cf5f2c8f05fcdc72c60a73032435cd47dbf51d7a2c0d493642b8ab1d423 |
39 |
DIST l_ipp_itanium_p_5.3.1.062.tgz 230318851 RMD160 3a9492369cdea867d0cd10a38653385d17698757 SHA1 44223efdc883301bd49f17d74aaf0fb6dc5d5986 SHA256 9b443488dc983e5568f516555ffda3d032f002ff9b2c051a554cc6bff9ba5e53 |
40 |
EBUILD ipp-5.3.1.062.ebuild 3649 RMD160 b0ffbcf5af6e6847672a69a72320079e14244ff3 SHA1 783a055961aa9aa3186fac3a368d909e0c35ab93 SHA256 22967a39e06a762d837c97bbb551a72d583028d901d94d4cd3930977c183941a |
41 |
MD5 33c8ef1ab16fa6795ac6eb52a71ba833 ipp-5.3.1.062.ebuild 3649 |
42 |
RMD160 b0ffbcf5af6e6847672a69a72320079e14244ff3 ipp-5.3.1.062.ebuild 3649 |
43 |
SHA256 22967a39e06a762d837c97bbb551a72d583028d901d94d4cd3930977c183941a ipp-5.3.1.062.ebuild 3649 |
44 |
MISC ChangeLog 314 RMD160 9209139518451ed2d9546f2c9646b7c781d9a6dd SHA1 d6c346987ab64b267baabc08c22611d9b2a02461 SHA256 54e8b645b470873da48b2544bc22419a5bb52c27a42a328adf153a26aecd6bcf |
45 |
MD5 f7ea2e054f2f4426762a6bf3f3662b5c ChangeLog 314 |
46 |
RMD160 9209139518451ed2d9546f2c9646b7c781d9a6dd ChangeLog 314 |
47 |
SHA256 54e8b645b470873da48b2544bc22419a5bb52c27a42a328adf153a26aecd6bcf ChangeLog 314 |
48 |
MISC metadata.xml 389 RMD160 3f726abf16a69255e6208c41604b41f9acde1434 SHA1 f827b185d58d751c682466996366b680c40c653a SHA256 110a71e5b60235c978d09d262b487ce359784964c37d1faa9cab616276ece3c5 |
49 |
MD5 9a8932f07dac1852622d64d56b0df018 metadata.xml 389 |
50 |
RMD160 3f726abf16a69255e6208c41604b41f9acde1434 metadata.xml 389 |
51 |
SHA256 110a71e5b60235c978d09d262b487ce359784964c37d1faa9cab616276ece3c5 metadata.xml 389 |
52 |
MD5 d29d440e2a17ba780a86982fb6667391 files/digest-ipp-5.3.1.062 816 |
53 |
RMD160 84db1c64e6d451523072877052c35aad5b9535d9 files/digest-ipp-5.3.1.062 816 |
54 |
SHA256 cec26da446a008d846f3ffd4f413079482ac47e08368981a7538247c08234bc5 files/digest-ipp-5.3.1.062 816 |
55 |
|
56 |
|
57 |
|
58 |
1.1 sci-libs/ipp/ipp-5.3.1.062.ebuild |
59 |
|
60 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ipp-5.3.1.062.ebuild?rev=1.1&view=markup |
61 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ipp-5.3.1.062.ebuild?rev=1.1&content-type=text/plain |
62 |
|
63 |
Index: ipp-5.3.1.062.ebuild |
64 |
=================================================================== |
65 |
# Copyright 1999-2007 Gentoo Foundation |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ipp-5.3.1.062.ebuild,v 1.1 2007/12/28 11:24:56 bicatali Exp $ |
68 |
|
69 |
inherit versionator multilib |
70 |
|
71 |
PID=921 |
72 |
PB=${PN} |
73 |
DESCRIPTION="Intel(R) Integrated Performance Primitive library for multimedia and data processing" |
74 |
HOMEPAGE="http://developer.intel.com/software/products/ipp/" |
75 |
|
76 |
KEYWORDS="~amd64 ~x86 ~ia64" |
77 |
SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/l_${PB}_em64t_p_${PV}.tgz ) |
78 |
x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/l_${PB}_ia32_p_${PV}.tgz ) |
79 |
ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/l_${PB}_itanium_p_${PV}.tgz )" |
80 |
|
81 |
SLOT=0 |
82 |
LICENSE="Intel-SDP" |
83 |
|
84 |
IUSE="" |
85 |
RESTRICT="strip mirror" |
86 |
|
87 |
pkg_setup() { |
88 |
# setting up license |
89 |
[[ -z ${IPP_LICENSE} ]] && [[ -d ${ROOT}/opt/intel/licenses ]] && \ |
90 |
IPP_LICENSE="$(find ${ROOT}/opt/intel/licenses -name *IPP*.lic)" |
91 |
# Alternative license file, the file might be included in a `package deal` |
92 |
[[ -z ${IPP_LICENSE} ]] && \ |
93 |
IPP_LICENSE="$(grep 'COMPONENTS="PerfPrimL PerfPrim"' ${ROOT}/opt/intel/licenses/*|cut -d: -f1)" |
94 |
|
95 |
if [[ -z ${IPP_LICENSE} ]]; then |
96 |
eerror "Did not find any valid ipp license." |
97 |
eerror "Please locate your license file and run:" |
98 |
eerror "\t IPP_LICENSE=/my/license/dir emerge ${PN}" |
99 |
eerror "or place your license in /opt/intel/licenses" |
100 |
eerror "Hint: the license file is in the email Intel sent you" |
101 |
die "setup ipp license failed" |
102 |
fi |
103 |
IPP_ARCH= |
104 |
if use amd64; then |
105 |
IPP_ARCH=em64t |
106 |
elif use x86; then |
107 |
IPP_ARCH=ia32 |
108 |
elif use ia64; then |
109 |
IPP_ARCH=ia64 |
110 |
fi |
111 |
einfo "IPP_LICENSE=${IPP_LICENSE}" |
112 |
einfo "IPP_ARCH=${IPP_ARCH}" |
113 |
} |
114 |
|
115 |
src_unpack() { |
116 |
|
117 |
ewarn |
118 |
ewarn "Intel ${PN} requires at least 300Mb of disk space" |
119 |
ewarn "Make sure you have enough in ${PORTAGE_TMPDIR}, /tmp and in /opt" |
120 |
ewarn |
121 |
unpack ${A} |
122 |
|
123 |
cd l_${PB}_*_${PV}/install |
124 |
# need to make a file to install non-interactively. |
125 |
# to produce such a file, first do it interactively |
126 |
# tar xf l_*; ./install.sh --duplicate ipp.ini; |
127 |
# the file will be instman/ipp.ini |
128 |
# NOTE: Command line arguments tend to be more portable |
129 |
# across Intel installations, so put as much of the settings |
130 |
# in the command line as you can (for reuse purposes) |
131 |
|
132 |
# binary blob extractor installs crap in /opt/intel |
133 |
addwrite /opt/intel |
134 |
cp ${IPP_LICENSE} "${WORKDIR}"/ |
135 |
IPP_TMP_LICENSE="$(basename ${IPP_LICENSE})" |
136 |
cat > ipp.ini <<- EOF |
137 |
[IPP_${IPP_ARCH}] |
138 |
EULA_ACCEPT_REJECT=ACCEPT |
139 |
EOF |
140 |
einfo "Extracting ..." |
141 |
./install \ |
142 |
--silent ${PWD}/ipp.ini \ |
143 |
--nonrpm \ |
144 |
--licensepath "${WORKDIR}"/${IPP_TMP_LICENSE} \ |
145 |
--installpath "${S}" \ |
146 |
--log log.txt &> /dev/null |
147 |
|
148 |
# This check is arbitrary to say the least... |
149 |
# We used to look for a specific library (ie: libippmmx.so) but that |
150 |
# is unreliable as they are moving targets and may not be there on |
151 |
# the next release. ippEULA.txt is more likely to remain there at |
152 |
# the next release. |
153 |
if [[ -z $(find "${S}" -name ippEULA.txt) ]]; then |
154 |
eerror "could not find extracted files" |
155 |
eerror "see ${PWD}/log.txt to see why" |
156 |
die "extracting failed" |
157 |
fi |
158 |
|
159 |
rm -rf "${WORKDIR}"/l_* |
160 |
} |
161 |
|
162 |
src_compile() { |
163 |
einfo "Binary package, nothing to compile" |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
local instdir=/opt/intel/${PN}/${PV}/${IPP_ARCH} |
168 |
dodir ${instdir} |
169 |
|
170 |
# install license file |
171 |
if [[ ! -f /opt/intel/licenses/${IPP_TMP_LICENSE} ]]; then |
172 |
insinto /opt/intel/licenses |
173 |
doins "${WORKDIR}"/${IPP_TMP_LICENSE} |
174 |
fi |
175 |
|
176 |
# cp quicker than doins |
177 |
einfo "Copying all files" |
178 |
cp -pPR "${S}"/* "${D}"${instdir} || \ |
179 |
die "copying files failed" |
180 |
|
181 |
local env_file=36ipp |
182 |
echo "LDPATH=${instdir}/sharedlib" > ${env_file} |
183 |
doenvd ${env_file} || die "doenvd ${env_file} failed" |
184 |
} |
185 |
|
186 |
|
187 |
|
188 |
1.1 sci-libs/ipp/ChangeLog |
189 |
|
190 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ChangeLog?rev=1.1&view=markup |
191 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ChangeLog?rev=1.1&content-type=text/plain |
192 |
|
193 |
Index: ChangeLog |
194 |
=================================================================== |
195 |
# ChangeLog for sci-libs/ipp |
196 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
197 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ChangeLog,v 1.1 2007/12/28 11:24:56 bicatali Exp $ |
198 |
|
199 |
*ipp-5.3.1.062 (28 Dec 2007) |
200 |
|
201 |
28 Dec 2007; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
202 |
+ipp-5.3.1.062.ebuild: |
203 |
Initial import, closing bug #165934. Thanks Eric Thibodeau for his help. |
204 |
|
205 |
|
206 |
|
207 |
|
208 |
-- |
209 |
gentoo-commits@g.o mailing list |