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