/[gentoo-x86]/eclass/intel-sdp.eclass
Gentoo

Diff of /eclass/intel-sdp.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 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.1 2012/09/16 14:24:40 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.2 2012/09/16 15:59:43 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>
225# Full path to intel registry db 225# Full path to intel registry db
226INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db 226INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db
227 227
228 228
229intel-sdp_pkg_postinst() { 229intel-sdp_pkg_postinst() {
230 elog "Make sure you have recieved the an Intel license."
231 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/"
233 elog "Install the license file into ${EROOT}opt/intel/licenses."
234
230 # add product registry to intel "database" 235 # add product registry to intel "database"
231 local l r 236 local l r
232 for r in ${INTEL_RPMS}; do 237 for r in ${INTEL_RPMS}; do
233 l="$(ls -1 ${EROOT%/}/opt/intel/.${r}_*.log | head -n 1)" 238 l="$(ls -1 ${EROOT%/}/opt/intel/.${r}_*.log | head -n 1)"
234 echo >> ${INTEL_SDP_DB} \ 239 echo >> ${INTEL_SDP_DB} \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20