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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 14 18:54:38 2015 UTC (3 years, 5 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +25 -34 lines
[QA] Remove emul-linux-x86-* from dependencies.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2015 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.1i.ebuild,v 1.4 2014/10/16 09:28:56 pacho Exp $
4
5 EAPI=5
6
7 inherit rpm eutils versionator
8
9 MY_PV=$(replace_version_separator 2 '-' )
10 MY_P="$PN-${MY_PV}"
11 DESCRIPTION="MolSoft LCC ICM Browser"
12 SRC_URI="${MY_P}.i386.rpm"
13 HOMEPAGE="http://www.molsoft.com/icm_browser.html"
14
15 LICENSE="MolSoft"
16 SLOT=0
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19 RESTRICT="fetch"
20
21 RDEPEND="!sci-chemistry/icm
22 virtual/libstdc++:3.3
23 >=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
24 >=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
25 media-libs/libmng[abi_x86_32(-)]
26 >=media-libs/mesa-9.1.6[osmesa,abi_x86_32(-)]
27 >=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
28 >=sys-apps/keyutils-1.5.9-r1[abi_x86_32(-)]
29 virtual/jpeg:62[abi_x86_32(-)]
30 virtual/krb5[abi_x86_32(-)]
31 virtual/opengl[abi_x86_32(-)]
32 x11-libs/libICE[abi_x86_32(-)]
33 x11-libs/libSM[abi_x86_32(-)]
34 x11-libs/libX11[abi_x86_32(-)]
35 x11-libs/libXau[abi_x86_32(-)]
36 x11-libs/libXdamage[abi_x86_32(-)]
37 x11-libs/libXdmcp[abi_x86_32(-)]
38 x11-libs/libXext[abi_x86_32(-)]
39 x11-libs/libXfixes[abi_x86_32(-)]
40 x11-libs/libXmu[abi_x86_32(-)]
41 x11-libs/libXrender[abi_x86_32(-)]
42 x11-libs/libXt[abi_x86_32(-)]
43 x11-libs/libXxf86vm[abi_x86_32(-)]
44 x11-libs/libdrm[abi_x86_32(-)]
45 x11-libs/libxcb[abi_x86_32(-)]
46 "
47 DEPEND=""
48
49 S="${WORKDIR}/usr/${PN}-pro-${MY_PV}"
50
51 pkg_nofetch() {
52 einfo "Please download ${SRC_URI} from "
53 einfo "${HOMEPAGE}"
54 einfo "and move it to ${DISTDIR}"
55 }
56
57 src_unpack() {
58 rpm_src_unpack
59 }
60
61 src_install () {
62 instdir=/opt/icm-browser
63 dodir "${instdir}"
64 dodir "${instdir}/licenses"
65 cp -pPR * "${D}/${instdir}"
66 doenvd "${FILESDIR}/90icm-browser"
67 exeinto ${instdir}
68 doexe "${S}/icmbrowserpro"
69 doexe "${S}/lmhostid"
70 doexe "${S}/txdoc"
71 dosym "${instdir}/icmbrowserpro" /opt/bin/icmbrowserpro
72 dosym "${instdir}/txdoc" /opt/bin/txdoc
73 dosym "${instdir}/lmhostid" /opt/bin/lmhostid
74 # make desktop entry
75 doicon "${FILESDIR}"/${PN}.xpm
76 make_desktop_entry "icmbrowserpro -g" "ICM Browser" ${PN} Chemistry
77 }
78
79 pkg_postinst () {
80 einfo
81 einfo "Documentation can be found in ${instdir}/man/"
82 einfo
83 einfo "If you want to upgrade free version of browser to pro version"
84 einfo "you should purchaise license from ${HOMEPAGE} and place it to"
85 einfo "${instdir}/licenses"
86 einfo
87 }

  ViewVC Help
Powered by ViewVC 1.1.20