/[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.6 Revision 1.9
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.6 2013/01/18 15:00:31 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.9 2013/01/23 11:14:33 jlec Exp $
4 4
5# @ECLASS: intel-sdp.eclass 5# @ECLASS: intel-sdp.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Justin Lecher <jlec@gentoo.org> 7# Justin Lecher <jlec@gentoo.org>
8# Sci Team <sci@gentoo.org> 8# Sci Team <sci@gentoo.org>
258 local warn=1 dir dirs ret arch a p 258 local warn=1 dir dirs ret arch a p
259 259
260 : ${CHECKREQS_DISK_BUILD:=256M} 260 : ${CHECKREQS_DISK_BUILD:=256M}
261 check-reqs_pkg_pretend 261 check-reqs_pkg_pretend
262 262
263 if echo ${INTEL_LICENSE_FILE} | grep -q @; then
264 einfo "Looks like you are using following license server:"
265 einfo " ${INTEL_LICENSE_FILE}"
266 return 0
267 fi
268
263 dirs=( 269 dirs=(
264 "${INTEL_SDP_EDIR}/licenses" 270 "${INTEL_SDP_EDIR}/licenses"
265 "${INTEL_SDP_EDIR}/Licenses" 271 "${INTEL_SDP_EDIR}/Licenses"
266 "${EPREFIX}/opt/intel/licenses" 272 "${EPREFIX}/opt/intel/licenses"
267 ) 273 )
388 eend 394 eend
389 395
390 [[ -d "${ED}" ]] || dodir / 396 [[ -d "${ED}" ]] || dodir /
391 mv opt "${ED}"/ || die "moving files failed" 397 mv opt "${ED}"/ || die "moving files failed"
392 398
393 dodir "${INTEL_SDP_DIR}"/licenses 399 dodir "${INTEL_SDP_DIR}"/licenses /opt/intel/ism/rm
394 keepdir "${INTEL_SDP_DIR}"/licenses 400 keepdir "${INTEL_SDP_DIR}"/licenses /opt/intel/ism/rm
395} 401}
396 402
397# @FUNCTION: intel-sdp_pkg_postinst 403# @FUNCTION: intel-sdp_pkg_postinst
398# @DESCRIPTION: 404# @DESCRIPTION:
399# Add things to intel database 405# Add things to intel database

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20