| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.2 2012/09/16 15:59:43 jlec Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.4 2012/09/20 13:54:56 jlec Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: intel-sdp.eclass |
5 | # @ECLASS: intel-sdp.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Sébastien Fabbro <bicatali@gentoo.org> |
7 | # Sébastien Fabbro <bicatali@gentoo.org> |
| 8 | # Justin Lecher <jlec@gentoo.org> |
8 | # Justin Lecher <jlec@gentoo.org> |
| … | |
… | |
| 92 | LICENSE="Intel-SDP" |
92 | LICENSE="Intel-SDP" |
| 93 | # Future work, #394411 |
93 | # Future work, #394411 |
| 94 | #SLOT="${_INTEL_PV1}.${_INTEL_PV2}" |
94 | #SLOT="${_INTEL_PV1}.${_INTEL_PV2}" |
| 95 | SLOT="0" |
95 | SLOT="0" |
| 96 | IUSE="multilib" |
96 | IUSE="multilib" |
| 97 | KEYWORDS="-* ~amd64 ~x86" |
97 | KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
| 98 | |
98 | |
| 99 | RESTRICT="mirror" |
99 | RESTRICT="mirror" |
| 100 | |
100 | |
| 101 | RDEPEND="" |
101 | RDEPEND="" |
| 102 | DEPEND=">=app-arch/rpm2targz-9.0.0.3g" |
102 | DEPEND=">=app-arch/rpm2targz-9.0.0.3g" |
| … | |
… | |
| 223 | # @ECLASS-VARIABLE: INTEL_SDP_DB |
223 | # @ECLASS-VARIABLE: INTEL_SDP_DB |
| 224 | # @DESCRIPTION: |
224 | # @DESCRIPTION: |
| 225 | # Full path to intel registry db |
225 | # Full path to intel registry db |
| 226 | INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db |
226 | INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db |
| 227 | |
227 | |
| 228 | |
|
|
| 229 | intel-sdp_pkg_postinst() { |
228 | intel-sdp_pkg_postinst() { |
| 230 | elog "Make sure you have recieved the an Intel license." |
229 | elog "Make sure you have recieved the an Intel license." |
| 231 | elog "To receive a non-commercial license, you need to register at:" |
230 | elog "To receive a non-commercial license, you need to register at:" |
| 232 | elog "http://software.intel.com/en-us/articles/non-commercial-software-development/" |
231 | elog "http://software.intel.com/en-us/articles/non-commercial-software-development/" |
| 233 | elog "Install the license file into ${EROOT}opt/intel/licenses." |
232 | elog "Install the license file into ${EROOT}opt/intel/licenses." |