blob: c77017cabe919656367f4df8b150ea5d89d21da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/ipp/ipp-11.1.072.ebuild,v 1.1 2010/06/07 15:27:34 jlec Exp $
EAPI=3
inherit versionator
RELEASE="$(get_version_component_range 1-2)"
BUILD="$(get_version_component_range 3)"
DESCRIPTION="Intel(R) Integrated Performance Primitive library for multimedia and data processing"
HOMEPAGE="http://developer.intel.com/software/products/ipp/"
SRC_URI=""
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="Intel-SDP"
IUSE=""
DEPEND=""
RDEPEND="~dev-lang/icc-${PV}[ipp]"
DESTINATION="${EROOT}opt/intel/Compiler/${RELEASE}/${BUILD}"
src_install() {
cat > 36ipp <<-EOF
IPPROOT=${DESTINATION}/ipp/${IARCH/intel64/em64t}
LDPATH=\${IPPROOT}/sharedlib
LIB=\${IPPROOT}/lib
LIBRARY_PATH=\${IPPROOT}/lib
CPATH=\${IPPROOT}/include
NLSPATH=\${IPPROOT}/lib/locale/%l_%t/%N
EOF
doenvd 36ipp || die "doenvd 36ipp failed"
}
|