/[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.3
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.3 2012/09/20 13:12:50 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>
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
226INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db 226INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db
227 227
228
229intel-sdp_pkg_postinst() { 228intel-sdp_pkg_postinst() {
229 elog "Make sure you have recieved the an Intel license."
230 elog "To receive a non-commercial license, you need to register at:"
231 elog "http://software.intel.com/en-us/articles/non-commercial-software-development/"
232 elog "Install the license file into ${EROOT}opt/intel/licenses."
233
230 # add product registry to intel "database" 234 # add product registry to intel "database"
231 local l r 235 local l r
232 for r in ${INTEL_RPMS}; do 236 for r in ${INTEL_RPMS}; do
233 l="$(ls -1 ${EROOT%/}/opt/intel/.${r}_*.log | head -n 1)" 237 l="$(ls -1 ${EROOT%/}/opt/intel/.${r}_*.log | head -n 1)"
234 echo >> ${INTEL_SDP_DB} \ 238 echo >> ${INTEL_SDP_DB} \

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

  ViewVC Help
Powered by ViewVC 1.1.20