diff options
Diffstat (limited to 'sci-chemistry/imosflm/imosflm-1.0.5.ebuild')
-rw-r--r-- | sci-chemistry/imosflm/imosflm-1.0.5.ebuild | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/sci-chemistry/imosflm/imosflm-1.0.5.ebuild b/sci-chemistry/imosflm/imosflm-1.0.5.ebuild deleted file mode 100644 index 253ed8042083..000000000000 --- a/sci-chemistry/imosflm/imosflm-1.0.5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/imosflm/imosflm-1.0.5.ebuild,v 1.5 2015/03/20 15:32:49 jlec Exp $ - -EAPI=4 - -inherit eutils multilib toolchain-funcs versionator - -MY_PV="$(delete_all_version_separators ${PV})" - -DESCRIPTION="A new GUI for the Mosflm crystallographic data processing tool" -HOMEPAGE="http://www.mrc-lmb.cam.ac.uk/harry/imosflm" -SRC_URI="${HOMEPAGE}/ver${MY_PV}/downloads/${P}.zip" - -LICENSE="ccp4" -SLOT="0" -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND=" - dev-lang/tcl:0 - >=dev-tcltk/itcl-3.3 - >=dev-tcltk/itk-3.3 - >=dev-tcltk/iwidgets-4 - >=dev-tcltk/tdom-0.8 - >=dev-tcltk/tkimg-1.3 - >=dev-tcltk/tktreectrl-2.1 - dev-tcltk/anigif - dev-tcltk/combobox - dev-tcltk/tablelist - >=sci-chemistry/mosflm-7.0.4" -DEPEND="app-arch/unzip" - -S="${WORKDIR}"/${PN} - -src_prepare() { - epatch \ - "${FILESDIR}"/1.0.4-tk.patch \ - "${FILESDIR}"/1.0.4-impl-dec.patch -} - -src_compile() { - cd c - - objs="tkImageLoadDLL.o tkImageLoad.o" - libs="-ltclstub -ltkstub" - config="-fPIC -DUSE_TCL_STUBS -DTK_USE_STUBS" - ldextra="-shared" - - for file in ${objs}; do - einfo "$(tc-getCC) -c ${CFLAGS} ${config} ${file/.o/.c} -o ${file}" - $(tc-getCC) -c ${CFLAGS} ${config} ${file/.o/.c} -o ${file} - done - - einfo "$(tc-getCC) ${LDFLAGS} ${ldextra} ${objs} -o tkImageLoad.so ${libs}" - $(tc-getCC) ${LDFLAGS} ${ldextra} ${objs} -o tkImageLoad.so ${libs} -} - -src_install(){ - rm -rf lib/{*.so,anigif,combobox} - - insinto /usr/$(get_libdir)/${PN} - doins -r "${S}"/{src,bitmaps,lib} - fperms 775 /usr/$(get_libdir)/${PN}/src/imosflm - - dolib.so c/tkImageLoad.so - - cat >> "${T}"/23imosflm <<- EOF - IMOSFLM_VERSION="${PV}" - EOF - - doenvd "${T}"/23imosflm - - make_wrapper imosflm /usr/$(get_libdir)/${PN}/src/imosflm -} |