/[gentoo-x86]/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild
Gentoo

Contents of /sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Feb 14 17:47:48 2010 UTC (8 years, 5 months ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
[sci-chemistry/icm-browser] Version bump
(Portage version: 2.2_rc62/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm-browser/icm-browser-3.6.1g.ebuild,v 1.1 2009/11/05 20:55:12 alexxy Exp $
4
5 inherit rpm eutils versionator
6
7 MY_PV=$(replace_version_separator 2 '-' )
8 MY_P="$PN-${MY_PV}"
9 DESCRIPTION="MolSoft LCC ICM Browser"
10 SRC_URI="${MY_P}.i386.rpm"
11 HOMEPAGE="http://www.molsoft.com/icm_browser.html"
12 LICENSE="MolSoft"
13
14 SLOT=0
15 DEPEND="!sci-chemistry/icm
16 amd64? (
17 app-emulation/emul-linux-x86-compat
18 app-emulation/emul-linux-x86-xlibs
19 )
20 x86? (
21 virtual/libstdc++
22 )"
23 RDEPEND="$DEPEND"
24 KEYWORDS="~amd64 ~x86"
25 IUSE=""
26 RESTRICT="fetch"
27 S="${WORKDIR}/usr/${PN}-pro-${MY_PV}"
28
29 pkg_nofetch() {
30 einfo "Please download ${SRC_URI} from "
31 einfo "${HOMEPAGE}"
32 einfo "and move it to ${DISTDIR}"
33 }
34
35 src_unpack() {
36 rpm_src_unpack
37 }
38
39 src_install () {
40 instdir=/opt/icm-browser
41 dodir "${instdir}"
42 dodir "${instdir}/licenses"
43 cp -pPR * "${D}/${instdir}"
44 doenvd "${FILESDIR}/90icm-browser" || die
45 exeinto ${instdir}
46 doexe "${S}/icmbrowserpro" || die
47 doexe "${S}/lmhostid" || die
48 doexe "${S}/txdoc" || die
49 dosym "${instdir}/icmbrowserpro" /opt/bin/icmbrowserpro || die
50 dosym "${instdir}/txdoc" /opt/bin/txdoc || die
51 dosym "${instdir}/lmhostid" /opt/bin/lmhostid || die
52 # make desktop entry
53 doicon "${FILESDIR}"/${PN}.png
54 make_desktop_entry "icmbrowserpro -g" "ICM Browser" ${PN}.png Chemistry
55 }
56
57 pkg_postinst () {
58 einfo
59 einfo "Documentation can be found in ${instdir}/man/"
60 einfo
61 einfo "If you want to upgrade free version of browser to pro version"
62 einfo "you should purchaise license from ${HOMEPAGE} and place it to"
63 einfo "${instdir}/licenses"
64 einfo
65 }

  ViewVC Help
Powered by ViewVC 1.1.20