Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/ipp: ChangeLog metadata.xml ipp-5.3.4.080.ebuild ipp-5.3.2.068.ebuild
Date: Tue, 02 Sep 2008 10:51:39
Message-Id: E1KaTU0-0007ku-JX@stork.gentoo.org
1 bicatali 08/09/02 10:51:36
2
3 Modified: ChangeLog metadata.xml
4 Added: ipp-5.3.4.080.ebuild
5 Removed: ipp-5.3.2.068.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64)
9
10 Revision Changes Path
11 1.4 sci-libs/ipp/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/ipp/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 29 May 2008 08:10:57 -0000 1.3
24 +++ ChangeLog 2 Sep 2008 10:51:35 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-libs/ipp
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ChangeLog,v 1.3 2008/05/29 08:10:57 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ChangeLog,v 1.4 2008/09/02 10:51:35 bicatali Exp $
30 +
31 +*ipp-5.3.4.080 (02 Sep 2008)
32 +
33 + 02 Sep 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
34 + -ipp-5.3.2.068.ebuild, +ipp-5.3.4.080.ebuild:
35 + Version bump
36
37 28 May 2008; Sébastien Fabbro <bicatali@g.o>
38 +ipp-5.3.3.075.ebuild:
39
40
41
42 1.2 sci-libs/ipp/metadata.xml
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/metadata.xml?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/metadata.xml?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/metadata.xml?r1=1.1&r2=1.2
47
48 Index: metadata.xml
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sci-libs/ipp/metadata.xml,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- metadata.xml 28 Dec 2007 11:24:56 -0000 1.1
55 +++ metadata.xml 2 Sep 2008 10:51:36 -0000 1.2
56 @@ -3,8 +3,8 @@
57 <pkgmetadata>
58 <herd>sci</herd>
59 <longdescription lang="en">
60 -Intel(R) Integrated Performance Primitives (Intel(R) IPP) is a
61 -library of multi-core-ready, optimized software functions for
62 -multimedia data processing, and communications applications.
63 + Intel(R) Integrated Performance Primitives (Intel(R) IPP) is a
64 + library of multi-core-ready, optimized software functions for
65 + multimedia data processing, and communications applications.
66 </longdescription>
67 </pkgmetadata>
68
69
70
71 1.1 sci-libs/ipp/ipp-5.3.4.080.ebuild
72
73 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ipp-5.3.4.080.ebuild?rev=1.1&view=markup
74 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ipp/ipp-5.3.4.080.ebuild?rev=1.1&content-type=text/plain
75
76 Index: ipp-5.3.4.080.ebuild
77 ===================================================================
78 # Copyright 1999-2008 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ipp-5.3.4.080.ebuild,v 1.1 2008/09/02 10:51:36 bicatali Exp $
81
82 inherit check-reqs
83
84 PID=1096
85 PB=${PN}
86 DESCRIPTION="Intel(R) Integrated Performance Primitive library for multimedia and data processing"
87 HOMEPAGE="http://developer.intel.com/software/products/ipp/"
88
89 KEYWORDS="~amd64 ~x86 ~ia64"
90 COM_URI="http://registrationcenter-download.intel.com/irc_nas/${PID}"
91 SRC_URI="amd64? ( ${COM_URI}/l_${PB}_em64t_p_${PV}.tgz )
92 x86? ( ${COM_URI}/l_${PB}_ia32_p_${PV}.tgz )
93 ia64? ( ${COM_URI}/l_${PB}_itanium_p_${PV}.tgz )"
94
95 SLOT=0
96 LICENSE="Intel-SDP"
97
98 IUSE=""
99 RESTRICT="strip mirror"
100
101 INTEL_LIC_DIR=/opt/intel/licenses
102
103 pkg_setup() {
104 # Check the license
105 if [[ -z ${IPP_LICENSE} ]]; then
106 IPP_LICENSE="$(grep -ls PerfPrim ${ROOT}${INTEL_LIC_DIR}/* | tail -n 1)"
107 IPP_LICENSE=${IPP_LICENSE/${ROOT}/}
108 fi
109 if [[ -z ${IPP_LICENSE} ]]; then
110 eerror "Did not find any valid ipp license."
111 eerror "Register at ${HOMEPAGE} to receive a license"
112 eerror "and place it in ${INTEL_LIC_DIR} or run:"
113 eerror "export IPP_LICENSE=/my/license/file emerge ipp"
114 die "license setup failed"
115 fi
116
117 local disq_req
118 IPP_ARCH=
119 if use amd64; then
120 IPP_ARCH="em64t"
121 disk_req="800"
122 elif use x86; then
123 IPP_ARCH="ia32"
124 disk_req="600"
125 elif use ia64; then
126 IPP_ARCH="ia64"
127 disk_req="700"
128 fi
129 einfo "IPP_LICENSE=${IPP_LICENSE}"
130 einfo "IPP_ARCH=${IPP_ARCH}"
131
132 # Check if we have enough RAM and free diskspace
133 CHECKREQS_MEMORY="512"
134 CHECKREQS_DISK_BUILD=${disk_req}
135 check_reqs
136 }
137
138 src_unpack() {
139
140 ewarn
141 ewarn "Intel ${PN} requires at least 300Mb of disk space"
142 ewarn "Make sure you have enough in ${PORTAGE_TMPDIR}, /tmp and in /opt"
143 ewarn
144 unpack ${A}
145
146 cd l_${PB}_*_${PV}/install
147 # need to make a file to install non-interactively.
148 # to produce such a file, first do it interactively
149 # tar xf l_*; ./install.sh --duplicate ipp.ini;
150 # the file will be instman/ipp.ini
151 # binary blob extractor installs crap in /opt/intel
152 addwrite /opt/intel
153 cp ${IPP_LICENSE} "${WORKDIR}"/
154 IPP_TMP_LICENSE="$(basename ${IPP_LICENSE})"
155 cat > ipp.ini <<- EOF
156 [IPP_${IPP_ARCH}]
157 EULA_ACCEPT_REJECT=ACCEPT
158 EOF
159 einfo "Extracting ..."
160 ./install \
161 --silent ${PWD}/ipp.ini \
162 --nonrpm \
163 --licensepath "${WORKDIR}"/${IPP_TMP_LICENSE} \
164 --installpath "${S}" \
165 --log log.txt &> /dev/null
166
167 # This check is arbitrary to say the least...
168 # We used to look for a specific library (ie: libippmmx.so) but that
169 # is unreliable as they are moving targets and may not be there on
170 # the next release. ippEULA.txt is more likely to remain there at
171 # the next release.
172 if [[ -z $(find "${S}" -name ippEULA.txt) ]]; then
173 eerror "could not find extracted files"
174 eerror "see ${PWD}/log.txt to see why"
175 die "extracting failed"
176 fi
177
178 rm -rf "${WORKDIR}"/l_*
179 }
180
181 src_compile() {
182 einfo "Binary package, nothing to compile"
183 }
184
185 src_install() {
186 local instdir=/opt/intel/${PN}/${PV}/${IPP_ARCH}
187 dodir ${instdir}
188
189 # install license file
190 if [[ ! -f ${INTEL_LIC_DIR}/${IPP_TMP_LICENSE} ]]; then
191 insinto ${INTEL_LIC_DIR}
192 doins "${WORKDIR}"/${IPP_TMP_LICENSE}
193 fi
194
195 # cp quicker than doins
196 einfo "Copying all files"
197 cp -pPR "${S}"/* "${D}"${instdir} || \
198 die "copying files failed"
199
200 local env_file=36ipp
201 echo "LDPATH=${instdir}/sharedlib" > ${env_file}
202 doenvd ${env_file} || die "doenvd ${env_file} failed"
203 }