/[gentoo-x86]/sci-chemistry/imosflm/imosflm-1.0.7.ebuild
Gentoo

Contents of /sci-chemistry/imosflm/imosflm-1.0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 6 13:39:21 2012 UTC (10 months, 2 weeks ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
sci-chemistry/imosflm: Fix version of mosflm dependency

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/imosflm/imosflm-1.0.7.ebuild,v 1.1 2012/07/05 14:33:38 jlec Exp $
4
5 EAPI=4
6
7 inherit eutils multilib toolchain-funcs versionator
8
9 MY_PV="$(delete_all_version_separators ${PV})"
10
11 DESCRIPTION="A new GUI for the Mosflm crystallographic data processing tool"
12 HOMEPAGE="http://www.mrc-lmb.cam.ac.uk/harry/imosflm"
13 SRC_URI="${HOMEPAGE}/ver${MY_PV}/downloads/${P}.zip"
14
15 LICENSE="ccp4"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 RDEPEND="
21 dev-lang/tcl
22 >=dev-tcltk/itcl-3.3
23 >=dev-tcltk/itk-3.3
24 >=dev-tcltk/iwidgets-4
25 >=dev-tcltk/tdom-0.8
26 >=dev-tcltk/tkimg-1.3
27 >=dev-tcltk/tktreectrl-2.1
28 dev-tcltk/anigif
29 dev-tcltk/combobox
30 dev-tcltk/tablelist
31 >=sci-chemistry/mosflm-7.0.9"
32 DEPEND="app-arch/unzip"
33
34 S="${WORKDIR}"/${PN}
35
36 src_install(){
37 rm -rf lib/{*.so,anigif,combobox}
38
39 insinto /usr/$(get_libdir)/${PN}
40 doins -r "${S}"/{src,bitmaps,lib}
41 fperms 775 /usr/$(get_libdir)/${PN}/src/imosflm
42
43 cat >> "${T}"/23imosflm <<- EOF
44 IMOSFLM_VERSION="${PV}"
45 EOF
46
47 doenvd "${T}"/23imosflm
48
49 make_wrapper imosflm /usr/$(get_libdir)/${PN}/src/imosflm
50 }

  ViewVC Help
Powered by ViewVC 1.1.13