Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/idb: ChangeLog idb-10.1.018.ebuild idb-10.1.013.ebuild
Date: Tue, 02 Sep 2008 09:45:58
Message-Id: E1KaSSP-0007PC-7x@stork.gentoo.org
1 bicatali 08/09/02 09:45:53
2
3 Modified: ChangeLog
4 Added: idb-10.1.018.ebuild
5 Removed: idb-10.1.013.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64)
9
10 Revision Changes Path
11 1.12 dev-lang/idb/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/idb/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/idb/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/idb/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 23 Aug 2008 05:26:30 -0000 1.11
24 +++ ChangeLog 2 Sep 2008 09:45:52 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-lang/idb
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.11 2008/08/23 05:26:30 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.12 2008/09/02 09:45:52 bicatali Exp $
30 +
31 +*idb-10.1.018 (02 Sep 2008)
32 +
33 + 02 Sep 2008; Sébastien Fabbro <bicatali@g.o> -idb-10.1.013.ebuild,
34 + +idb-10.1.018.ebuild:
35 + Version bump
36
37 23 Aug 2008; Jeroen Roovers <jer@g.o> metadata.xml:
38 Add GLEP 56 USE flag descriptions.
39
40
41
42 1.1 dev-lang/idb/idb-10.1.018.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild?rev=1.1&content-type=text/plain
46
47 Index: idb-10.1.018.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.018.ebuild,v 1.1 2008/09/02 09:45:52 bicatali Exp $
52
53 inherit rpm elisp-common
54
55 ICC_PID=1205
56 IFC_PID=1208
57 xPV=p_${PV}
58
59 DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
60 HOMEPAGE="http://www.intel.com/software/products/compilers/"
61 COM_URI="http://registrationcenter-download.intel.com/irc_nas"
62 SRC_URI="amd64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_intel64.tar.gz ) )
63 !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
64 icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
65 ia64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia64.tar.gz ) )
66 !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
67 icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
68 x86? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia32.tar.gz ) )
69 !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )
70 icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )"
71
72 KEYWORDS="~amd64 ~x86"
73
74 LICENSE="Intel-SDP"
75 SLOT="0"
76
77 RESTRICT="strip mirror"
78 IUSE="emacs icc ifc"
79
80 DEPEND=""
81 RDEPEND="virtual/libstdc++
82 x11-libs/libXft
83 x11-libs/libXt
84 dev-libs/libxml2"
85
86 src_unpack() {
87 unpack ${A}
88 PACKAGEID=$(basename l_*)
89 mv "${WORKDIR}"/${PACKAGEID} "${S}"
90 cd "${S}"
91 for x in data/*idb*.rpm; do
92 einfo "Extracting $(basename ${x})..."
93 rpm_unpack ${x} || die "rpm_unpack ${x} failed"
94 done
95 }
96
97 src_install() {
98 local ext=
99 use amd64 && ext=e
100 local instdir=/opt/intel/${PN}${ext}/${PV}
101 cd "${S}"/${instdir}/doc
102 sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
103 -i *support \
104 || die "sed support file failed"
105 chmod 644 *support
106
107 dodir ${instdir}
108 einfo "Copying files"
109 cp -pPR \
110 "${S}"/${instdir}/* \
111 "${D}"/${instdir}/ \
112 || die "copying debugger failed"
113 cat > 06idb <<-EOF
114 PATH=${instdir}/bin
115 ROOTPATH=${instdir}/bin
116 MANPATH=${instdir}/man
117 EOF
118 doenvd 06idb || die "installing env file failed"
119 use emacs && \
120 elisp-site-file-install "${S}"${instdir}/bin/*.el
121 }
122
123 pkg_postinst () {
124 rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die
125 elog "Make sure you have recieved the a license for ${PN},"
126 elog "you cannot run ${PN} without a license file."
127 elog "To receive a non-commercial license, you need to register."
128 elog "Read the website for more information on this license:"
129 elog "${HOMEPAGE}"
130 elog "Then put the license file into ${ROOT}/opt/intel/licenses."
131 elog "\nTo use ${PN} issue first \n\tsource ${ROOT}/etc/profile"
132 use emacs && elisp-site-regen
133 }
134
135 pkg_postrm() {
136 use emacs && elisp-site-regen
137 }