diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-11-05 20:59:06 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-11-05 20:59:06 +0000 |
commit | f248d6cb1a7c950d07f97a14f41ef345ef5a833a (patch) | |
tree | bf961126b73c51df9fa5ab571e8445bc993bf6cc /sci-chemistry | |
parent | [sci-chemistry/icm-browser] Add icm-browser (diff) | |
download | historical-f248d6cb1a7c950d07f97a14f41ef345ef5a833a.tar.gz historical-f248d6cb1a7c950d07f97a14f41ef345ef5a833a.tar.bz2 historical-f248d6cb1a7c950d07f97a14f41ef345ef5a833a.zip |
[sci-chemistry/icm] Add icm
Package-Manager: portage-2.2_rc48/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/icm/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/icm/files/90icm | 3 | ||||
-rw-r--r-- | sci-chemistry/icm/files/icm.png | bin | 0 -> 7075 bytes | |||
-rw-r--r-- | sci-chemistry/icm/icm-3.6.1g.ebuild | 68 | ||||
-rw-r--r-- | sci-chemistry/icm/metadata.xml | 9 |
5 files changed, 90 insertions, 0 deletions
diff --git a/sci-chemistry/icm/ChangeLog b/sci-chemistry/icm/ChangeLog new file mode 100644 index 000000000000..e34cc24df9fb --- /dev/null +++ b/sci-chemistry/icm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/icm +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/ChangeLog,v 1.1 2009/11/05 20:59:05 alexxy Exp $ + +*icm-3.6.1g (05 Nov 2009) + + 05 Nov 2009; Alexey Shvetsov <alexxy@gentoo.org> +files/90icm, + +icm-3.6.1g.ebuild, +files/icm.png, +metadata.xml: + Initial import + diff --git a/sci-chemistry/icm/files/90icm b/sci-chemistry/icm/files/90icm new file mode 100644 index 000000000000..ce8966c406c3 --- /dev/null +++ b/sci-chemistry/icm/files/90icm @@ -0,0 +1,3 @@ +ICMHOME=/opt/icm +LM_LICENSE_FILE=/opt/icm/licenses/license.dat +MANPATH=/opt/icm/man diff --git a/sci-chemistry/icm/files/icm.png b/sci-chemistry/icm/files/icm.png Binary files differnew file mode 100644 index 000000000000..2ded11676e10 --- /dev/null +++ b/sci-chemistry/icm/files/icm.png diff --git a/sci-chemistry/icm/icm-3.6.1g.ebuild b/sci-chemistry/icm/icm-3.6.1g.ebuild new file mode 100644 index 000000000000..279c12e484fc --- /dev/null +++ b/sci-chemistry/icm/icm-3.6.1g.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/icm/icm-3.6.1g.ebuild,v 1.1 2009/11/05 20:59:05 alexxy Exp $ + +inherit rpm eutils versionator + +MY_PV=$(replace_version_separator 2 '-' ) +MY_P="$PN-${MY_PV}" +DESCRIPTION="MolSoft LCC ICM Pro" +SRC_URI="${MY_P}.i386.rpm" +HOMEPAGE="http://www.molsoft.com/icm_pro.html" +LICENSE="MolSoft" + +SLOT=0 + +DEPEND="!sci-chemistry/icm-browser + amd64? ( + app-emulation/emul-linux-x86-compat + app-emulation/emul-linux-x86-xlibs + ) + x86? ( + virtual/libstdc++ + )" +RDEPEND="$DEPEND" + +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="fetch" + +S="${WORKDIR}/usr/${MY_P}" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from " + einfo "${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + rpm_src_unpack + cd "${S}" || die +} + +src_install () { + instdir=/opt/icm + dodir "${instdir}" + dodir "${instdir}/licenses" + cp -pPR * "${D}/${instdir}" + doenvd "${FILESDIR}/90icm" || die + exeinto ${instdir} + doexe "${S}/icm" || die + doexe "${S}/lmhostid" || die + doexe "${S}/txdoc" || die + dosym "${instdir}/icm" /opt/bin/icm || die + dosym "${instdir}/txdoc" /opt/bin/txdoc || die + dosym "${instdir}/lmhostid" /opt/bin/lmhostid || die + # make desktop entry + doicon "${FILESDIR}/${PN}.png" + make_desktop_entry "icm -g" "ICM Pro" ${PN}.png Chemistry +} + +pkg_postinst () { + einfo + einfo "Documentation can be found in ${instdir}/man/" + einfo + einfo "You will need to place your license in ${instdir}/licenses/" + einfo + +} diff --git a/sci-chemistry/icm/metadata.xml b/sci-chemistry/icm/metadata.xml new file mode 100644 index 000000000000..3cfdd8f68922 --- /dev/null +++ b/sci-chemistry/icm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-chemistry</herd> +<maintainer> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> +</maintainer> +</pkgmetadata> |