# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="LinGX crystallographic toolbox by Ralf Müller" HOMEPAGE="http://www.xtal.rwth-aachen.de/LinGX/index.html" SRC_URI="http://www.xtal.rwth-aachen.de/LinGX/${PN}_${PVR}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="dev-tcltk/blt sci-chemistry/rasmol =sci-misc/drawxtl-4* sci-misc/platon sci-misc/shelx97-bin sci-misc/jana2000 sci-misc/sginfo" DEPEND="=gnome-base/libglade-2* =gnome-base/libgnomeui-2* =gnome-base/libgnomeprintui-2* =gnome-base/libgnomecanvas-2*" src_unpack() { unpack ${A} || die "Unpacking the source failed" epatch ${FILESDIR}/lingx-4.13-build-patch.patch } src_install() { cd ${WORKDIR}/${P} dobin LinGX dobin absen dobin *.tcl dodir ${ROOT}/usr/share/LinGX cp LinGX.glade* ${D}/usr/share/LinGX chmod +x *.tcl cp *.tcl ${D}/usr/share/LinGX cp -r locale/ ${D}/usr/share }